#[repr(u32)]pub enum ExceptionCodeLinux {
Show 32 variants
SIGHUP = 1,
SIGINT = 2,
SIGQUIT = 3,
SIGILL = 4,
SIGTRAP = 5,
SIGABRT = 6,
SIGBUS = 7,
SIGFPE = 8,
SIGKILL = 9,
SIGUSR1 = 10,
SIGSEGV = 11,
SIGUSR2 = 12,
SIGPIPE = 13,
SIGALRM = 14,
SIGTERM = 15,
SIGSTKFLT = 16,
SIGCHLD = 17,
SIGCONT = 18,
SIGSTOP = 19,
SIGTSTP = 20,
SIGTTIN = 21,
SIGTTOU = 22,
SIGURG = 23,
SIGXCPU = 24,
SIGXFSZ = 25,
SIGVTALRM = 26,
SIGPROF = 27,
SIGWINCH = 28,
SIGIO = 29,
SIGPWR = 30,
SIGSYS = 31,
DUMP_REQUESTED = 4_294_967_295,
}
Expand description
Values for
MINIDUMP_EXCEPTION::exception_code
for crashes on Linux.
These are primarily signal numbers from bits/signum.h.
Variants§
SIGHUP = 1
Hangup (POSIX)
SIGINT = 2
Interrupt (ANSI)
SIGQUIT = 3
Quit (POSIX)
SIGILL = 4
Illegal instruction (ANSI)
SIGTRAP = 5
Trace trap (POSIX)
SIGABRT = 6
Abort (ANSI)
SIGBUS = 7
BUS error (4.2 BSD)
SIGFPE = 8
Floating-point exception (ANSI)
SIGKILL = 9
Kill, unblockable (POSIX)
SIGUSR1 = 10
User-defined signal 1 (POSIX)
SIGSEGV = 11
Segmentation violation (ANSI)
SIGUSR2 = 12
User-defined signal 2 (POSIX)
SIGPIPE = 13
Broken pipe (POSIX)
SIGALRM = 14
Alarm clock (POSIX)
SIGTERM = 15
Termination (ANSI)
SIGSTKFLT = 16
Stack fault
SIGCHLD = 17
Child status has changed (POSIX)
SIGCONT = 18
Continue (POSIX)
SIGSTOP = 19
Stop, unblockable (POSIX)
SIGTSTP = 20
Keyboard stop (POSIX)
SIGTTIN = 21
Background read from tty (POSIX)
SIGTTOU = 22
Background write to tty (POSIX)
SIGURG = 23
Urgent condition on socket (4.2 BSD)
SIGXCPU = 24
CPU limit exceeded (4.2 BSD)
SIGXFSZ = 25
File size limit exceeded (4.2 BSD)
SIGVTALRM = 26
Virtual alarm clock (4.2 BSD)
SIGPROF = 27
Profiling alarm clock (4.2 BSD)
SIGWINCH = 28
Window size change (4.3 BSD, Sun)
SIGIO = 29
I/O now possible (4.2 BSD)
SIGPWR = 30
Power failure restart (System V)
SIGSYS = 31
Bad system call
DUMP_REQUESTED = 4_294_967_295
No exception, dump requested
Trait Implementations§
Source§impl Clone for ExceptionCodeLinux
impl Clone for ExceptionCodeLinux
Source§fn clone(&self) -> ExceptionCodeLinux
fn clone(&self) -> ExceptionCodeLinux
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExceptionCodeLinux
impl Debug for ExceptionCodeLinux
Source§impl FromPrimitive for ExceptionCodeLinux
impl FromPrimitive for ExceptionCodeLinux
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more