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

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

Variants

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

Implementations

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]

pub fn iterator() -> SignalIterator

Notable traits for SignalIterator

impl Iterator for SignalIterator type Item = Signal;
[src]

Trait Implementations

impl AsRef<str> for Signal[src]

impl Clone for Signal[src]

impl Copy for Signal[src]

impl Debug for Signal[src]

impl Display for Signal[src]

impl Eq for Signal[src]

impl FromStr for Signal[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Signal[src]

impl Ord for Signal[src]

impl PartialEq<Signal> for Signal[src]

impl PartialOrd<Signal> for Signal[src]

impl StructuralEq for Signal[src]

impl StructuralPartialEq for Signal[src]

impl TryFrom<i32> for Signal[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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 = Infallible

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.