pub enum CrashKind {
Panic,
Signal,
Hang,
}Expand description
How a report was produced.
Variants§
Panic
A Rust panic observed by the installed panic hook.
Signal
A native fatal signal or structured exception.
Hang
A main-thread heartbeat that stopped within the configured threshold.
Implementations§
Trait Implementations§
impl Copy for CrashKind
Source§impl<'de> Deserialize<'de> for CrashKind
impl<'de> Deserialize<'de> for CrashKind
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
impl Eq for CrashKind
impl StructuralPartialEq for CrashKind
Auto Trait Implementations§
impl Forget for CrashKind
impl Freeze for CrashKind
impl Move for CrashKind
impl RefUnwindSafe for CrashKind
impl Send for CrashKind
impl Sync for CrashKind
impl Unpin for CrashKind
impl UnsafeUnpin for CrashKind
impl UnwindSafe for CrashKind
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