Struct sentry_types::protocol::v7::PosixSignal
[−]
[src]
pub struct PosixSignal { pub number: i32, pub code: Option<i32>, pub name: Option<String>, pub code_name: Option<String>, }
POSIX signal with optional extended data.
Fields
number: i32
The POSIX signal number.
code: Option<i32>
An optional signal code present on Apple systems.
name: Option<String>
Optional name of the errno constant.
code_name: Option<String>
Optional name of the errno constant.
Trait Implementations
impl Debug for PosixSignal
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for PosixSignal
[src]
fn default() -> PosixSignal
[src]
Returns the "default value" for a type. Read more
impl Clone for PosixSignal
[src]
fn clone(&self) -> PosixSignal
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for PosixSignal
[src]
fn eq(&self, __arg_0: &PosixSignal) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PosixSignal) -> bool
[src]
This method tests for !=
.
impl Eq for PosixSignal
[src]
impl From<i32> for PosixSignal
[src]
fn from(number: i32) -> PosixSignal
[src]
Performs the conversion.