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]
impl Debug for PosixSignal
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for PosixSignal
[src]
impl Default for PosixSignal
fn default() -> PosixSignal
[src]
fn default() -> PosixSignal
Returns the "default value" for a type. Read more
impl Clone for PosixSignal
[src]
impl Clone for PosixSignal
fn clone(&self) -> PosixSignal
[src]
fn clone(&self) -> PosixSignal
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for PosixSignal
[src]
impl PartialEq for PosixSignal
fn eq(&self, other: &PosixSignal) -> bool
[src]
fn eq(&self, other: &PosixSignal) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PosixSignal) -> bool
[src]
fn ne(&self, other: &PosixSignal) -> bool
This method tests for !=
.
impl Eq for PosixSignal
[src]
impl Eq for PosixSignal
impl From<i32> for PosixSignal
[src]
impl From<i32> for PosixSignal
fn from(number: i32) -> PosixSignal
[src]
fn from(number: i32) -> PosixSignal
Performs the conversion.
impl From<(i32, i32)> for PosixSignal
[src]
impl From<(i32, i32)> for PosixSignal
impl Into<i32> for PosixSignal
[src]
impl Into<i32> for PosixSignal
Auto Trait Implementations
impl Send for PosixSignal
impl Send for PosixSignal
impl Sync for PosixSignal
impl Sync for PosixSignal