pub enum Signal {
Show 28 variants
Abrt,
Alrm,
Bus,
Chld,
Cont,
Fpe,
Hup,
Ill,
Int,
Kill,
Pipe,
Quit,
Segv,
Stop,
Term,
Tstp,
Ttin,
Ttou,
Usr1,
Usr2,
Poll,
Prof,
Sys,
Trap,
Urg,
VtAlrm,
XCpu,
XFsz,
}
Expand description
POSIX signals.
Signals list is based on the POSIX.1-2017 specification.
Variants§
Abrt
Process abort signal.
Alrm
Alarm clock.
Bus
Access to an undefined portion of a memory object.
Chld
Child process terminated, stopped, or continued.
Cont
Continue executing, if stopped.
Fpe
Erroneous arithmetic operation.
Hup
Hangup.
Ill
Illegal instruction.
Int
Terminal interrupt signal.
Kill
Kill (cannot be caught or ignored).
Pipe
Write on a pipe with no one to read it.
Quit
Terminal quit signal.
Segv
Invalid memory reference.
Stop
Stop executing (cannot be caught or ignored).
Term
Termination signal.
Tstp
Terminal stop signal.
Ttin
Background process attempting read.
Ttou
Background process attempting write.
Usr1
User-defined signal 1.
Usr2
User-defined signal 2.
Poll
Pollable event.
Prof
Profiling timer expired.
Sys
Bad system call.
Trap
Trace/breakpoint trap.
Urg
High bandwidth data is available at a socket.
VtAlrm
Virtual timer expired.
XCpu
CPU time limit exceeded.
XFsz
File size limit exceeded.
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)