Enum elfo_core::signal::SignalKind
source · pub enum SignalKind {
Show 13 variants
CtrlC,
Raw(c_int),
Alarm,
Child,
Hangup,
Interrupt,
Io,
Pipe,
Quit,
Terminate,
User1,
User2,
WindowChange,
}
Variants§
CtrlC
Completes when a “ctrl-c” notification is sent to the process.
Raw(c_int)
Allows for listening to any valid OS signal.
Alarm
SIGALRM
Child
SIGCHLD
Hangup
SIGHUP
Interrupt
SIGINT
Io
SIGIO
Pipe
SIGPIPE
Quit
SIGQUIT
Terminate
SIGTERM
User1
SIGUSR1
User2
SIGUSR2
WindowChange
SIGWINCH
Trait Implementations§
source§impl Clone for SignalKind
impl Clone for SignalKind
source§fn clone(&self) -> SignalKind
fn clone(&self) -> SignalKind
Returns a copy of the value. Read more
1.0.0 · 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 SignalKind
impl Debug for SignalKind
source§impl PartialEq<SignalKind> for SignalKind
impl PartialEq<SignalKind> for SignalKind
source§fn eq(&self, other: &SignalKind) -> bool
fn eq(&self, other: &SignalKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.