[][src]Enum abscissa_core::signal::Signal

#[repr(u32)]
pub enum Signal {
    Hup,
    Int,
    Pipe,
    Alrm,
    Term,
    Chld,
    Usr1,
    Usr2,
}

Unix signal types.

This includes signals which are useful for Abscissa applications to handle and is not intended to be an exhaustive list.

Variants

Hup

Hangup from controlling terminal/process

Int

Keyboard interrupt

Pipe

Broken pipe

Alrm

Timer alarm

Term

Termination signal

Chld

Child process terminated

Usr1

User-defined signal 1

Usr2

User-defined signal 2

Methods

impl Signal[src]

pub fn number(self) -> u32[src]

Get numerical signal code

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

Get the signal name

Trait Implementations

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 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<u32> for Signal[src]

type Error = FrameworkError

The type returned in the event of a conversion error.

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]

impl<T> AsAny for T where
    T: Any
[src]

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

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

impl<T> Erased for T

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.