Enum nix::sys::signal::Signal [−][src]
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
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]
Notable traits for SignalIterator
impl Iterator for SignalIterator type Item = Signal;
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][+]
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][+]
Auto Trait Implementations
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
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> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
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>,