pub struct NativeSignal {
pub signal: i64,
pub code: Option<i64>,
pub fault_address: Option<u64>,
pub frames: Vec<String>,
}Expand description
A native crash signal record decoded from a dump file.
Fields§
§signal: i64The platform signal/exception number (e.g. SIGSEGV) or Windows code.
code: Option<i64>The platform-specific signal code, if captured.
fault_address: Option<u64>The faulting address, if the platform reported one.
frames: Vec<String>Captured instruction-pointer / frame return addresses, in hex.
Trait Implementations§
Source§impl Clone for NativeSignal
impl Clone for NativeSignal
Source§fn clone(&self) -> NativeSignal
fn clone(&self) -> NativeSignal
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 NativeSignal
impl Debug for NativeSignal
Source§impl Default for NativeSignal
impl Default for NativeSignal
Source§fn default() -> NativeSignal
fn default() -> NativeSignal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NativeSignal
impl<'de> Deserialize<'de> for NativeSignal
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
Auto Trait Implementations§
impl Freeze for NativeSignal
impl RefUnwindSafe for NativeSignal
impl Send for NativeSignal
impl Sync for NativeSignal
impl Unpin for NativeSignal
impl UnsafeUnpin for NativeSignal
impl UnwindSafe for NativeSignal
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