[][src]Enum bmrng::error::RespondError

pub enum RespondError<T> {
    AlreadyReplied(T),
    ChannelClosed(T),
}

Error thrown when a Responder fails to respond.

Variants

AlreadyReplied(T)

A reply was already sent in this oneshot channel, cannot send more

ChannelClosed(T)

The channel was closed by the receiver, the original request sender

Trait Implementations

impl<T: Clone> Clone for RespondError<T>[src]

impl<T: Copy> Copy for RespondError<T>[src]

impl<T: Debug> Debug for RespondError<T>[src]

impl<T> Display for RespondError<T>[src]

impl<T> Error for RespondError<T> where
    T: Debug
[src]

impl<T> From<RespondError<T>> for RequestError<T>[src]

impl<T: PartialEq> PartialEq<RespondError<T>> for RespondError<T>[src]

impl<T> StructuralPartialEq for RespondError<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for RespondError<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for RespondError<T> where
    T: Send
[src]

impl<T> Sync for RespondError<T> where
    T: Sync
[src]

impl<T> Unpin for RespondError<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for RespondError<T> where
    T: UnwindSafe
[src]

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