Enum dialectic_tokio_mpsc::RecvError[][src]

pub enum RecvError {
    Closed,
    DowncastFailed(Box<dyn Any + Send>),
}

An error thrown while receiving from a dynamically typed tokio::sync::mpsc channel.

Variants

Closed

The channel was explicitly closed, or all senders were dropped, implicitly closing it.

DowncastFailed(Box<dyn Any + Send>)

A value received from the channel could not be cast into the correct expected type. This is always resultant from the other end of a channel failing to follow the session type of the channel.

Trait Implementations

impl Debug for RecvError[src]

impl Display for RecvError[src]

impl Error for RecvError[src]

impl From<RecvError> for Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, T, S> As<'a, Val, T> for S where
    S: Into<T>, 

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

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

impl<'a, T> By<'a, Mut> for T where
    T: 'a + ?Sized

type Type = &'a mut T

The type of Self when called by Convention.

impl<'a, T> By<'a, Ref> for T where
    T: 'a + ?Sized

type Type = &'a T

The type of Self when called by Convention.

impl<'a, T> By<'a, Val> for T

type Type = T

The type of Self when called by Convention.

impl<'a, T> Convert<'a, Mut, Mut> for T where
    T: 'a, 

impl<'a, T> Convert<'a, Mut, Ref> for T where
    T: 'a, 

impl<'a, T> Convert<'a, Ref, Ref> for T where
    T: 'a, 

impl<'a, T> Convert<'a, Val, Val> for T

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.