Enum appliance::Error[][src]

pub enum Error<M> {
    FullBuffer(M),
    Timeout,
    UnexpectedFailure(Option<M>),
}

An error describing appliance failures.

Variants

FullBuffer(M)

Indicates that a message was not sent because of the appliance’s buffer being full.

Timeout

Indicates that a timeout of the operation has been reached.

UnexpectedFailure(Option<M>)

Indicates that an error at this point is unexpected.

Trait Implementations

impl<M> Debug for Error<M>[src]

impl<M> Display for Error<M>[src]

impl<M> Error for Error<M>[src]

Auto Trait Implementations

impl<M> RefUnwindSafe for Error<M> where
    M: RefUnwindSafe

impl<M> Send for Error<M> where
    M: Send

impl<M> Sync for Error<M> where
    M: Sync

impl<M> Unpin for Error<M> where
    M: Unpin

impl<M> UnwindSafe for Error<M> where
    M: 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> 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.