#[repr(C)]pub enum SignalNames {
Show 32 variants
SIGHUP = 0,
SIGINT = 1,
SIGQUIT = 2,
SIGILL = 3,
SIGTRAP = 4,
SIGABRT = 5,
SIGBUS = 6,
SIGFPE = 7,
SIGKILL = 8,
SIGUSR1 = 9,
SIGSEGV = 10,
SIGUSR2 = 11,
SIGPIPE = 12,
SIGALRM = 13,
SIGTERM = 14,
SIGCHLD = 15,
SIGCONT = 16,
SIGSTOP = 17,
SIGTSTP = 18,
SIGTTIN = 19,
SIGTTOU = 20,
SIGURG = 21,
SIGXCPU = 22,
SIGXFSZ = 23,
SIGVTALRM = 24,
SIGPROF = 25,
SIGWINCH = 26,
SIGIO = 27,
SIGSYS = 28,
SIGEMT = 29,
SIGINFO = 30,
UNKNOWN = 31,
}Expand description
See https://man7.org/linux/man-pages/man7/signal.7.html
Variants§
SIGHUP = 0
SIGINT = 1
SIGQUIT = 2
SIGILL = 3
SIGTRAP = 4
SIGABRT = 5
SIGBUS = 6
SIGFPE = 7
SIGKILL = 8
SIGUSR1 = 9
SIGSEGV = 10
SIGUSR2 = 11
SIGPIPE = 12
SIGALRM = 13
SIGTERM = 14
SIGCHLD = 15
SIGCONT = 16
SIGSTOP = 17
SIGTSTP = 18
SIGTTIN = 19
SIGTTOU = 20
SIGURG = 21
SIGXCPU = 22
SIGXFSZ = 23
SIGVTALRM = 24
SIGPROF = 25
SIGWINCH = 26
SIGIO = 27
SIGSYS = 28
SIGEMT = 29
SIGINFO = 30
UNKNOWN = 31
Trait Implementations§
Source§impl Clone for SignalNames
impl Clone for SignalNames
Source§fn clone(&self) -> SignalNames
fn clone(&self) -> SignalNames
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignalNames
impl Debug for SignalNames
Source§impl<'de> Deserialize<'de> for SignalNames
impl<'de> Deserialize<'de> for SignalNames
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Signal> for SignalNames
impl From<Signal> for SignalNames
Source§impl From<i32> for SignalNames
impl From<i32> for SignalNames
Source§impl JsonSchema for SignalNames
impl JsonSchema for SignalNames
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SignalNames
impl PartialEq for SignalNames
Source§impl Serialize for SignalNames
impl Serialize for SignalNames
impl StructuralPartialEq for SignalNames
Auto Trait Implementations§
impl Freeze for SignalNames
impl RefUnwindSafe for SignalNames
impl Send for SignalNames
impl Sync for SignalNames
impl Unpin for SignalNames
impl UnsafeUnpin for SignalNames
impl UnwindSafe for SignalNames
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more