[][src]Enum nix::sys::signal::Signal

#[repr(i32)]
pub enum Signal {
    SIGHUP,
    SIGINT,
    SIGQUIT,
    SIGILL,
    SIGTRAP,
    SIGABRT,
    SIGBUS,
    SIGFPE,
    SIGKILL,
    SIGUSR1,
    SIGSEGV,
    SIGUSR2,
    SIGPIPE,
    SIGALRM,
    SIGTERM,
    SIGCHLD,
    SIGCONT,
    SIGSTOP,
    SIGTSTP,
    SIGTTIN,
    SIGTTOU,
    SIGURG,
    SIGXCPU,
    SIGXFSZ,
    SIGVTALRM,
    SIGPROF,
    SIGWINCH,
    SIGIO,
    SIGSYS,
    SIGEMT,
    SIGINFO,
}

Variants

SIGHUP
SIGINT
SIGQUIT
SIGILL
SIGTRAP
SIGABRT
SIGBUS
SIGFPE
SIGKILL
SIGUSR1
SIGSEGV
SIGUSR2
SIGPIPE
SIGALRM
SIGTERM
SIGCHLD
SIGCONT
SIGSTOP
SIGTSTP
SIGTTIN
SIGTTOU
SIGURG
SIGXCPU
SIGXFSZ
SIGVTALRM
SIGPROF
SIGWINCH
SIGIO
SIGSYS
SIGEMT
SIGINFO

Methods

impl Signal[src]

pub fn as_str(self) -> &'static str[src]

Returns name of signal.

This function is equivalent to <Signal as AsRef<str>>::as_ref(), with difference that returned string is 'static and not bound to self's lifetime.

impl Signal[src]

Important traits for SignalIterator
pub fn iterator() -> SignalIterator[src]

Trait Implementations

impl AsRef<str> for Signal[src]

impl Clone for Signal[src]

impl Copy for Signal[src]

impl Eq for Signal[src]

impl Ord for Signal[src]

impl PartialEq<Signal> for Signal[src]

impl PartialOrd<Signal> for Signal[src]

impl Debug for Signal[src]

impl Display for Signal[src]

impl TryFrom<i32> for Signal[src]

type Error = Error

The type returned in the event of a conversion error.

impl FromStr for Signal[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Signal[src]

impl StructuralPartialEq for Signal[src]

impl StructuralEq for Signal[src]

Auto Trait Implementations

impl Send for Signal

impl Sync for Signal

impl Unpin for Signal

impl UnwindSafe for Signal

impl RefUnwindSafe for Signal

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]