Enum dialectic_tokio_serde::SendError[][src]

pub enum SendError<F: Serializer, E: Encoder<F::Output>> {
    Serialize(F::Error),
    Encode(E::Error),
}

An error while sending on a Sender.

Variants

Serialize(F::Error)

An error occurred while attempting to serialize a value.

Encode(E::Error)

An error occurred while attempting to encode and transmit a serialized value as a frame.

Trait Implementations

impl<F, E> Clone for SendError<F, E> where
    F: Serializer,
    E: Encoder<F::Output>,
    F::Error: Clone,
    E::Error: Clone
[src]

impl<F: Serializer, E: Encoder<F::Output>> Debug for SendError<F, E> where
    F::Error: Debug,
    E::Error: Debug
[src]

impl<F: Serializer, E: Encoder<F::Output>> Display for SendError<F, E> where
    F::Error: Display,
    E::Error: Display
[src]

impl<F, E> Error for SendError<F, E> where
    F: Serializer,
    E: Encoder<F::Output>,
    F::Error: Display + Debug,
    E::Error: Display + Debug
[src]

impl<F, G, E, D> From<SendError<F, E>> 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, E> RefUnwindSafe for SendError<F, E> where
    <E as Encoder<<F as Serializer>::Output>>::Error: RefUnwindSafe,
    <F as Serializer>::Error: RefUnwindSafe

impl<F, E> Send for SendError<F, E> where
    <E as Encoder<<F as Serializer>::Output>>::Error: Send,
    <F as Serializer>::Error: Send

impl<F, E> Sync for SendError<F, E> where
    <E as Encoder<<F as Serializer>::Output>>::Error: Sync,
    <F as Serializer>::Error: Sync

impl<F, E> Unpin for SendError<F, E> where
    <E as Encoder<<F as Serializer>::Output>>::Error: Unpin,
    <F as Serializer>::Error: Unpin

impl<F, E> UnwindSafe for SendError<F, E> where
    <E as Encoder<<F as Serializer>::Output>>::Error: UnwindSafe,
    <F as Serializer>::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.