[][src]Struct futures_ext::encode::LayeredEncoder

pub struct LayeredEncoder<In, Enc> { /* fields omitted */ }

Stream returned by the encode function

Trait Implementations

impl<In, Enc> Stream for LayeredEncoder<In, Enc> where
    In: Stream,
    Enc: Encoder<Item = In::Item>,
    Enc::Error: From<In::Error>, 
[src]

type Item = Bytes

The type of item this stream will yield on success.

type Error = Enc::Error

The type of error this stream may generate.

Auto Trait Implementations

impl<In, Enc> RefUnwindSafe for LayeredEncoder<In, Enc> where
    Enc: RefUnwindSafe,
    In: RefUnwindSafe
[src]

impl<In, Enc> Send for LayeredEncoder<In, Enc> where
    Enc: Send,
    In: Send
[src]

impl<In, Enc> Sync for LayeredEncoder<In, Enc> where
    Enc: Sync,
    In: Sync
[src]

impl<In, Enc> Unpin for LayeredEncoder<In, Enc> where
    Enc: Unpin,
    In: Unpin
[src]

impl<In, Enc> UnwindSafe for LayeredEncoder<In, Enc> where
    Enc: UnwindSafe,
    In: 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> StreamExt for T where
    T: Stream
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]

impl<T> StreamLayeredExt for T where
    T: Stream<Item = Bytes>, 
[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.