Enum Signal

Source
#[repr(u8)]
pub enum Signal {
Show 142 variants ZERO = 0, SIGHUP = 1, SIGINT = 2, SIGQUIT = 3, SIGILL = 4, SIGTRAP = 5, SIGABRT = 6, SIGEMT = 7, SIGFPE = 8, SIGKILL = 9, SIGBUS = 10, SIGSEGV = 11, SIGSYS = 12, SIGPIPE = 13, SIGALRM = 14, SIGTERM = 15, SIGURG = 16, SIGSTOP = 17, SIGTSTP = 18, SIGCONT = 19, SIGCHLD = 20, SIGTTIN = 21, SIGTTOU = 22, SIGIO = 23, SIGXCPU = 24, SIGXFSZ = 25, SIGVTALRM = 26, SIGPROF = 27, SIGWINCH = 28, SIGLOST = 29, SIGUSR1 = 30, SIGUSR2 = 31, SIGPWR = 32, SIGPOLL = 33, SIGWIND = 34, SIGPHONE = 35, SIGWAITING = 36, SIGLWP = 37, SIGDANGER = 38, SIGGRANT = 39, SIGRETRACT = 40, SIGMSG = 41, SIGSOUND = 42, SIGSAK = 43, SIGPRIO = 44, SIG33 = 45, SIG34 = 46, SIG35 = 47, SIG36 = 48, SIG37 = 49, SIG38 = 50, SIG39 = 51, SIG40 = 52, SIG41 = 53, SIG42 = 54, SIG43 = 55, SIG44 = 56, SIG45 = 57, SIG46 = 58, SIG47 = 59, SIG48 = 60, SIG49 = 61, SIG50 = 62, SIG51 = 63, SIG52 = 64, SIG53 = 65, SIG54 = 66, SIG55 = 67, SIG56 = 68, SIG57 = 69, SIG58 = 70, SIG59 = 71, SIG60 = 72, SIG61 = 73, SIG62 = 74, SIG63 = 75, SIGCANCEL = 76, SIG32 = 77, SIG64 = 78, SIG65 = 79, SIG66 = 80, SIG67 = 81, SIG68 = 82, SIG69 = 83, SIG70 = 84, SIG71 = 85, SIG72 = 86, SIG73 = 87, SIG74 = 88, SIG75 = 89, SIG76 = 90, SIG77 = 91, SIG78 = 92, SIG79 = 93, SIG80 = 94, SIG81 = 95, SIG82 = 96, SIG83 = 97, SIG84 = 98, SIG85 = 99, SIG86 = 100, SIG87 = 101, SIG88 = 102, SIG89 = 103, SIG90 = 104, SIG91 = 105, SIG92 = 106, SIG93 = 107, SIG94 = 108, SIG95 = 109, SIG96 = 110, SIG97 = 111, SIG98 = 112, SIG99 = 113, SIG100 = 114, SIG101 = 115, SIG102 = 116, SIG103 = 117, SIG104 = 118, SIG105 = 119, SIG106 = 120, SIG107 = 121, SIG108 = 122, SIG109 = 123, SIG110 = 124, SIG111 = 125, SIG112 = 126, SIG113 = 127, SIG114 = 128, SIG115 = 129, SIG116 = 130, SIG117 = 131, SIG118 = 132, SIG119 = 133, SIG120 = 134, SIG121 = 135, SIG122 = 136, SIG123 = 137, SIG124 = 138, SIG125 = 139, SIG126 = 140, SIG127 = 141,
}
Expand description

All signals that GDB define. These are cross-platform numbers.

Variants§

§

ZERO = 0

§

SIGHUP = 1

§

SIGINT = 2

§

SIGQUIT = 3

§

SIGILL = 4

§

SIGTRAP = 5

§

SIGABRT = 6

§

SIGEMT = 7

§

SIGFPE = 8

§

SIGKILL = 9

§

SIGBUS = 10

§

SIGSEGV = 11

§

SIGSYS = 12

§

SIGPIPE = 13

§

SIGALRM = 14

§

SIGTERM = 15

§

SIGURG = 16

§

SIGSTOP = 17

§

SIGTSTP = 18

§

SIGCONT = 19

§

SIGCHLD = 20

§

SIGTTIN = 21

§

SIGTTOU = 22

§

SIGIO = 23

§

SIGXCPU = 24

§

SIGXFSZ = 25

§

SIGVTALRM = 26

§

SIGPROF = 27

§

SIGWINCH = 28

§

SIGLOST = 29

§

SIGUSR1 = 30

§

SIGUSR2 = 31

§

SIGPWR = 32

§

SIGPOLL = 33

§

SIGWIND = 34

§

SIGPHONE = 35

§

SIGWAITING = 36

§

SIGLWP = 37

§

SIGDANGER = 38

§

SIGGRANT = 39

§

SIGRETRACT = 40

§

SIGMSG = 41

§

SIGSOUND = 42

§

SIGSAK = 43

§

SIGPRIO = 44

§

SIG33 = 45

§

SIG34 = 46

§

SIG35 = 47

§

SIG36 = 48

§

SIG37 = 49

§

SIG38 = 50

§

SIG39 = 51

§

SIG40 = 52

§

SIG41 = 53

§

SIG42 = 54

§

SIG43 = 55

§

SIG44 = 56

§

SIG45 = 57

§

SIG46 = 58

§

SIG47 = 59

§

SIG48 = 60

§

SIG49 = 61

§

SIG50 = 62

§

SIG51 = 63

§

SIG52 = 64

§

SIG53 = 65

§

SIG54 = 66

§

SIG55 = 67

§

SIG56 = 68

§

SIG57 = 69

§

SIG58 = 70

§

SIG59 = 71

§

SIG60 = 72

§

SIG61 = 73

§

SIG62 = 74

§

SIG63 = 75

§

SIGCANCEL = 76

§

SIG32 = 77

§

SIG64 = 78

§

SIG65 = 79

§

SIG66 = 80

§

SIG67 = 81

§

SIG68 = 82

§

SIG69 = 83

§

SIG70 = 84

§

SIG71 = 85

§

SIG72 = 86

§

SIG73 = 87

§

SIG74 = 88

§

SIG75 = 89

§

SIG76 = 90

§

SIG77 = 91

§

SIG78 = 92

§

SIG79 = 93

§

SIG80 = 94

§

SIG81 = 95

§

SIG82 = 96

§

SIG83 = 97

§

SIG84 = 98

§

SIG85 = 99

§

SIG86 = 100

§

SIG87 = 101

§

SIG88 = 102

§

SIG89 = 103

§

SIG90 = 104

§

SIG91 = 105

§

SIG92 = 106

§

SIG93 = 107

§

SIG94 = 108

§

SIG95 = 109

§

SIG96 = 110

§

SIG97 = 111

§

SIG98 = 112

§

SIG99 = 113

§

SIG100 = 114

§

SIG101 = 115

§

SIG102 = 116

§

SIG103 = 117

§

SIG104 = 118

§

SIG105 = 119

§

SIG106 = 120

§

SIG107 = 121

§

SIG108 = 122

§

SIG109 = 123

§

SIG110 = 124

§

SIG111 = 125

§

SIG112 = 126

§

SIG113 = 127

§

SIG114 = 128

§

SIG115 = 129

§

SIG116 = 130

§

SIG117 = 131

§

SIG118 = 132

§

SIG119 = 133

§

SIG120 = 134

§

SIG121 = 135

§

SIG122 = 136

§

SIG123 = 137

§

SIG124 = 138

§

SIG125 = 139

§

SIG126 = 140

§

SIG127 = 141

Trait Implementations§

Source§

impl FromPrimitive for Signal

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

Auto Trait Implementations§

§

impl Freeze for Signal

§

impl RefUnwindSafe for Signal

§

impl Send for Signal

§

impl Sync for Signal

§

impl Unpin for Signal

§

impl UnwindSafe for Signal

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.