[][src]Enum genio::error::IntrError

pub enum IntrError<E> {
    Other(E),
    Interrupted,
}

This error type indicates that operation might fail in restartible manner. The most obvious case is EINTR returned from syscalls when a signal is delivered while doing read.

Variants

Other(E)

The error wasn't interruption.

Interrupted

An operation was interrupted. This variant means that operation can be retried and it will likely succeed.

Trait Implementations

impl<E: Debug> Debug for IntrError<E>[src]

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

impl<E> IntoIntrError for IntrError<E>[src]

type NonIntr = E

Type representing other error (non-interrupt).

Auto Trait Implementations

impl<E> RefUnwindSafe for IntrError<E> where
    E: RefUnwindSafe

impl<E> Send for IntrError<E> where
    E: Send

impl<E> Sync for IntrError<E> where
    E: Sync

impl<E> Unpin for IntrError<E> where
    E: Unpin

impl<E> UnwindSafe for IntrError<E> where
    E: UnwindSafe

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