pub enum TerminationSignal {
Interrupt,
Terminate,
}Expand description
Termination signal observed by the runtime.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TerminationSignal
impl Clone for TerminationSignal
Source§fn clone(&self) -> TerminationSignal
fn clone(&self) -> TerminationSignal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminationSignal
impl Debug for TerminationSignal
Source§impl PartialEq for TerminationSignal
impl PartialEq for TerminationSignal
Source§fn eq(&self, other: &TerminationSignal) -> bool
fn eq(&self, other: &TerminationSignal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TerminationSignal
impl Eq for TerminationSignal
impl StructuralPartialEq for TerminationSignal
Auto Trait Implementations§
impl Freeze for TerminationSignal
impl RefUnwindSafe for TerminationSignal
impl Send for TerminationSignal
impl Sync for TerminationSignal
impl Unpin for TerminationSignal
impl UnsafeUnpin for TerminationSignal
impl UnwindSafe for TerminationSignal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.