[][src]Trait vessels::format::Encode

pub trait Encode<'de, C: UniformStreamSink<<C as Context<'de>>::Item> + Context<'de>>: Format + Sized where
    <C as ISink<<C as Context<'de>>::Item>>::Error: ErrorBound, 
{ type Output: IStream<Item = Self::Representation> + ISink<Self::Representation, Error = EncodeError<Self, <C as Context<'de>>::Item, C>>; fn encode(input: C) -> Self::Output; }

Associated Types

type Output: IStream<Item = Self::Representation> + ISink<Self::Representation, Error = EncodeError<Self, <C as Context<'de>>::Item, C>>

Loading content...

Required methods

fn encode(input: C) -> Self::Output

Loading content...

Implementors

impl<'de, T: Format + 'static, C: UniformStreamSink<<C as Context<'de>>::Item> + Context<'de> + 'static + Sync + Send + Sized> Encode<'de, C> for T where
    T::Representation: Sync + Send + Clone,
    <C as Context<'de>>::Item: Sync + Send,
    <C as ISink<<C as Context<'de>>::Item>>::Error: ErrorBound, 
[src]

type Output = SinkStream<Self::Representation, EncodeError<T, <C as Context<'de>>::Item, C>, Self::Representation>

Loading content...