[][src]Enum interprocess::os::unix::signal::SetHandlerError

pub enum SetHandlerError {
    UnsafeSignal,
    UnblockableSignal(SignalType),
    RealTimeSignalOutOfBounds {
        attempted: u32,
        max: u32,
    },
    UnexpectedSystemCallFailure(Error),
}

Variants

UnsafeSignal

An unsafe signal was attempted to be handled using set instead of unsafe_set.

UnblockableSignal(SignalType)

The signal which was attempted to be handled is not allowed to be handled by the POSIX specification. This can either be ForceSuspend or Kill.

RealTimeSignalOutOfBounds

The specified real-time signal is not available on this OS.

Fields of RealTimeSignalOutOfBounds

attempted: u32max: u32
UnexpectedSystemCallFailure(Error)

An unexpected OS error ocurred during signal handler setup.

Trait Implementations

impl Debug for SetHandlerError[src]

impl Display for SetHandlerError[src]

impl Error for SetHandlerError[src]

impl From<Error> for SetHandlerError[src]

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> 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.