#[repr(i32)]pub enum Signal {
Show 29 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,
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,
SIGSYS = 31,
}
Available on Linux only.
Expand description
The signal types that we are able to listen for.
Variants§
SIGHUP = 1
SIGHUP
SIGINT = 2
SIGINT
SIGQUIT = 3
SIGQUIT
SIGILL = 4
SIGILL
SIGTRAP = 5
SIGTRAP
SIGABRT = 6
SIGABRT
, aka SIGIOT
SIGBUS = 7
SIGBUS
SIGFPE = 8
SIGFPE
SIGKILL = 9
SIGKILL
SIGUSR1 = 10
SIGUSR1
SIGSEGV = 11
SIGSEGV
SIGUSR2 = 12
SIGUSR2
SIGPIPE = 13
SIGPIPE
SIGALRM = 14
SIGALRM
SIGTERM = 15
SIGTERM
SIGCHLD = 17
SIGCHLD
SIGCONT = 18
SIGCONT
SIGSTOP = 19
SIGSTOP
SIGTSTP = 20
SIGTSTP
SIGTTIN = 21
SIGTTIN
SIGTTOU = 22
SIGTTOU
SIGURG = 23
SIGURG
SIGXCPU = 24
SIGXCPU
SIGXFSZ = 25
SIGXFSZ
SIGVTALRM = 26
SIGVTALRM
SIGPROF = 27
SIGPROF
SIGWINCH = 28
SIGWINCH
SIGIO = 29
SIGIO
, aka SIGPOLL
SIGSYS = 31
SIGSYS
, aka SIGUNUSED
Trait Implementations§
Source§impl Ord for Signal
impl Ord for Signal
Source§impl PartialOrd for Signal
impl PartialOrd for Signal
impl Copy for Signal
impl Eq for Signal
impl StructuralPartialEq for Signal
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> 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