Enum nix::sys::signal::Signal [−][src]
#[repr(i32)]
#[non_exhaustive]
pub enum Signal {
Show 31 variants
SIGHUP,
SIGINT,
SIGQUIT,
SIGILL,
SIGTRAP,
SIGABRT,
SIGBUS,
SIGFPE,
SIGKILL,
SIGUSR1,
SIGSEGV,
SIGUSR2,
SIGPIPE,
SIGALRM,
SIGTERM,
SIGSTKFLT,
SIGCHLD,
SIGCONT,
SIGSTOP,
SIGTSTP,
SIGTTIN,
SIGTTOU,
SIGURG,
SIGXCPU,
SIGXFSZ,
SIGVTALRM,
SIGPROF,
SIGWINCH,
SIGIO,
SIGPWR,
SIGSYS,
}
Expand description
Types of operating system signals
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
SIGHUP
Hangup
SIGINT
Interrupt
SIGQUIT
Quit
SIGILL
Illegal instruction (not reset when caught)
SIGTRAP
Trace trap (not reset when caught)
SIGABRT
Abort
SIGBUS
Bus error
SIGFPE
Floating point exception
SIGKILL
Kill (cannot be caught or ignored)
SIGUSR1
User defined signal 1
SIGSEGV
Segmentation violation
SIGUSR2
User defined signal 2
SIGPIPE
Write on a pipe with no one to read it
SIGALRM
Alarm clock
SIGTERM
Software termination signal from kill
SIGSTKFLT
Stack fault (obsolete)
SIGCHLD
To parent on child stop or exit
SIGCONT
Continue a stopped process
SIGSTOP
Sendable stop signal not from tty
SIGTSTP
Stop signal from tty
SIGTTIN
To readers pgrp upon background tty read
SIGTTOU
Like TTIN if (tp->t_local<OSTOP)
SIGURG
Urgent condition on IO channel
SIGXCPU
Exceeded CPU time limit
SIGXFSZ
Exceeded file size limit
SIGVTALRM
Virtual time alarm
SIGPROF
Profiling time alarm
SIGWINCH
Window size changes
SIGIO
Input/output possible signal
SIGPWR
Power failure imminent.
SIGSYS
Bad system call
Implementations
pub const fn iterator() -> SignalIteratorⓘNotable traits for SignalIteratorimpl Iterator for SignalIterator type Item = Signal;
pub const fn iterator() -> SignalIteratorⓘNotable traits for SignalIteratorimpl Iterator for SignalIterator type Item = Signal;
impl Iterator for SignalIterator type Item = Signal;
Iterate through all signals defined by this OS
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Signal
impl UnwindSafe for Signal
Blanket Implementations
Mutably borrows from an owned value. Read more