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)), }
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
impl Clone for SigHandler
[src][+]
impl Copy for SigHandler
[src]
impl Debug for SigHandler
[src][+]
impl Eq for SigHandler
[src]
impl Hash for SigHandler
[src][+]
impl PartialEq<SigHandler> for SigHandler
[src][+]
impl StructuralEq for SigHandler
[src]
impl StructuralPartialEq for SigHandler
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,