#[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

source§

fn clone(&self) -> ExceptionCodeLinux

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExceptionCodeLinux

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromPrimitive for ExceptionCodeLinux

source§

fn from_i64(n: i64) -> Option<Self>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_usize(n: usize) -> Option<Self>

Converts a 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>

Converts an 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>

Converts an 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>

Converts an 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>

Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
source§

impl PartialEq for ExceptionCodeLinux

source§

fn eq(&self, other: &ExceptionCodeLinux) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for ExceptionCodeLinux

source§

impl Eq for ExceptionCodeLinux

source§

impl StructuralPartialEq for ExceptionCodeLinux

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.