pub enum DeathReason {
Completed,
Killed,
Crashed {
exit_code: Option<i32>,
},
ResourceLimitExceeded,
Timeout,
}Variants§
Trait Implementations§
Source§impl Clone for DeathReason
impl Clone for DeathReason
Source§fn clone(&self) -> DeathReason
fn clone(&self) -> DeathReason
Returns a duplicate of the value. Read more
1.0.0 · 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 DeathReason
impl Debug for DeathReason
Source§impl<'de> Deserialize<'de> for DeathReason
impl<'de> Deserialize<'de> for DeathReason
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 DeathReason
impl PartialEq for DeathReason
Source§impl Serialize for DeathReason
impl Serialize for DeathReason
impl Eq for DeathReason
impl StructuralPartialEq for DeathReason
Auto Trait Implementations§
impl Freeze for DeathReason
impl RefUnwindSafe for DeathReason
impl Send for DeathReason
impl Sync for DeathReason
impl Unpin for DeathReason
impl UnsafeUnpin for DeathReason
impl UnwindSafe for DeathReason
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