pub enum ProcessSignal {
Interrupt,
Terminate,
Kill,
}Expand description
Enumerates the finite process signal cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Interrupt
Use this variant when the contract needs to represent interrupt; selecting it has no side effect by itself.
Terminate
Use this variant when the contract needs to represent terminate; selecting it has no side effect by itself.
Kill
Use this variant when the contract needs to represent kill; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ProcessSignal
impl Clone for ProcessSignal
Source§fn clone(&self) -> ProcessSignal
fn clone(&self) -> ProcessSignal
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 ProcessSignal
impl Debug for ProcessSignal
Source§impl<'de> Deserialize<'de> for ProcessSignal
impl<'de> Deserialize<'de> for ProcessSignal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProcessSignal
impl PartialEq for ProcessSignal
Source§fn eq(&self, other: &ProcessSignal) -> bool
fn eq(&self, other: &ProcessSignal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessSignal
impl Serialize for ProcessSignal
impl Copy for ProcessSignal
impl Eq for ProcessSignal
impl StructuralPartialEq for ProcessSignal
Auto Trait Implementations§
impl Freeze for ProcessSignal
impl RefUnwindSafe for ProcessSignal
impl Send for ProcessSignal
impl Sync for ProcessSignal
impl Unpin for ProcessSignal
impl UnsafeUnpin for ProcessSignal
impl UnwindSafe for ProcessSignal
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