Enum async_signal::Signal
source · #[repr(i32)]pub enum Signal {
Show 29 variants
Hup = 1,
Int = 2,
Quit = 3,
Ill = 4,
Trap = 5,
Abort = 6,
Bus = 7,
Fpe = 8,
Kill = 9,
Usr1 = 10,
Segv = 11,
Usr2 = 12,
Pipe = 13,
Alarm = 14,
Term = 15,
Child = 17,
Cont = 18,
Stop = 19,
Tstp = 20,
Ttin = 21,
Ttou = 22,
Urg = 23,
Xcpu = 24,
Xfsz = 25,
Vtalarm = 26,
Prof = 27,
Winch = 28,
Io = 29,
Sys = 31,
}
Expand description
The signal types that we are able to listen for.
Variants§
Hup = 1
SIGHUP
Int = 2
SIGINT
Quit = 3
SIGQUIT
Ill = 4
SIGILL
Trap = 5
SIGTRAP
Abort = 6
SIGABRT
, aka SIGIOT
Bus = 7
SIGBUS
Fpe = 8
SIGFPE
Kill = 9
SIGKILL
Usr1 = 10
SIGUSR1
Segv = 11
SIGSEGV
Usr2 = 12
SIGUSR2
Pipe = 13
SIGPIPE
Alarm = 14
SIGALRM
Term = 15
SIGTERM
Child = 17
SIGCHLD
Cont = 18
SIGCONT
Stop = 19
SIGSTOP
Tstp = 20
SIGTSTP
Ttin = 21
SIGTTIN
Ttou = 22
SIGTTOU
Urg = 23
SIGURG
Xcpu = 24
SIGXCPU
Xfsz = 25
SIGXFSZ
Vtalarm = 26
SIGVTALRM
Prof = 27
SIGPROF
Winch = 28
SIGWINCH
Io = 29
SIGIO
, aka SIGPOLL
Sys = 31
SIGSYS
, aka SIGUNUSED
Trait Implementations§
source§impl Ord for Signal
impl Ord for Signal
source§impl PartialEq for Signal
impl PartialEq for Signal
source§impl PartialOrd for Signal
impl PartialOrd for Signal
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Signal
impl Eq for Signal
impl StructuralEq for Signal
impl StructuralPartialEq for Signal
Auto Trait Implementations§
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