Enum dialectic_tokio_serde::RecvError[][src]

pub enum RecvError<F: Deserializer<D::Item>, D: Decoder> {
    Deserialize(F::Error),
    Decode(D::Error),
    Closed,
}

An error while receiving from a Receiver.

Variants

Deserialize(F::Error)

An error occurred while attempting to deserialize a value.

Decode(D::Error)

An error occurred while attempting to receive and decode a serialized value as a frame.

Closed

The underlying stream was closed.

Trait Implementations

impl<F, D> Clone for RecvError<F, D> where
    F: Deserializer<D::Item>,
    D: Decoder,
    F::Error: Clone,
    D::Error: Clone
[src]

impl<F: Deserializer<D::Item>, D: Decoder> Debug for RecvError<F, D> where
    F::Error: Debug,
    D::Error: Debug
[src]

impl<F: Deserializer<D::Item>, D: Decoder> Display for RecvError<F, D> where
    F::Error: Display,
    D::Error: Display
[src]

impl<F, D> Error for RecvError<F, D> where
    F: Deserializer<D::Item>,
    D: Decoder,
    F::Error: Display + Debug,
    D::Error: Display + Debug
[src]

impl<F, G, E, D> From<RecvError<G, D>> for Error<F, G, E, D> where
    F: Serializer,
    G: Deserializer<D::Item>,
    E: Encoder<F::Output>,
    D: Decoder
[src]

Auto Trait Implementations

impl<F, D> RefUnwindSafe for RecvError<F, D> where
    <D as Decoder>::Error: RefUnwindSafe,
    <F as Deserializer<<D as Decoder>::Item>>::Error: RefUnwindSafe

impl<F, D> Send for RecvError<F, D> where
    <D as Decoder>::Error: Send,
    <F as Deserializer<<D as Decoder>::Item>>::Error: Send

impl<F, D> Sync for RecvError<F, D> where
    <D as Decoder>::Error: Sync,
    <F as Deserializer<<D as Decoder>::Item>>::Error: Sync

impl<F, D> Unpin for RecvError<F, D> where
    <D as Decoder>::Error: Unpin,
    <F as Deserializer<<D as Decoder>::Item>>::Error: Unpin

impl<F, D> UnwindSafe for RecvError<F, D> where
    <D as Decoder>::Error: UnwindSafe,
    <F as Deserializer<<D as Decoder>::Item>>::Error: UnwindSafe

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, Mut, Val> for T where
    T: 'a + Clone

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

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

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