Enum nix::sys::signal::SigHandler [−][src]
pub enum SigHandler { SigDfl, SigIgn, Handler(extern "C" fn(_: c_int)), SigAction(extern "C" fn(_: c_int, _: *mut siginfo_t, _: *mut c_void)), }
Expand description
A signal handler.
Variants
Default signal handling.
Request that the signal be ignored.
Use the given signal-catching function, which takes in the signal.
Use the given signal-catching function, which takes in the signal, information about how
the signal was generated, and a pointer to the threads ucontext_t
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SigHandler
impl Send for SigHandler
impl Sync for SigHandler
impl Unpin for SigHandler
impl UnwindSafe for SigHandler
Blanket Implementations
Mutably borrows from an owned value. Read more