Enum async_proto::impls::MapReadError[][src]

pub enum MapReadError<K: Protocol, V: Protocol> {
    Io(Error),
    Key(Box<K::ReadError>),
    Value(Box<V::ReadError>),
}

Variants

Io(Error)
Key(Box<K::ReadError>)
Value(Box<V::ReadError>)

Trait Implementations

impl<K: Debug + Protocol, V: Debug + Protocol> Debug for MapReadError<K, V> where
    K::ReadError: Debug,
    V::ReadError: Debug
[src]

impl<K: Protocol, V: Protocol> Display for MapReadError<K, V> where
    K::ReadError: Display,
    V::ReadError: Display
[src]

Auto Trait Implementations

impl<K, V> !RefUnwindSafe for MapReadError<K, V>

impl<K, V> Send for MapReadError<K, V> where
    <K as Protocol>::ReadError: Send,
    <V as Protocol>::ReadError: Send

impl<K, V> Sync for MapReadError<K, V> where
    <K as Protocol>::ReadError: Sync,
    <V as Protocol>::ReadError: Sync

impl<K, V> Unpin for MapReadError<K, V>

impl<K, V> !UnwindSafe for MapReadError<K, V>

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.