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 duplicate 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 for SignalKind
impl PartialEq for SignalKind
impl Copy for SignalKind
impl Eq for SignalKind
impl StructuralPartialEq for SignalKind
Auto Trait Implementations§
impl Freeze for SignalKind
impl RefUnwindSafe for SignalKind
impl Send for SignalKind
impl Sync for SignalKind
impl Unpin for SignalKind
impl UnwindSafe for SignalKind
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