[][src]Trait vessels::format::Decode

pub trait Decode<'de, C: UniformStreamSink<Self::Representation> + 'static, K: Kind>: Format where
    C::Error: 'static, 
{ type Output: IFuture<Output = Result<K, K::ConstructError>>; fn decode<T: Target<'de, K> + Sync + Send + 'static>(
        input: C
    ) -> Self::Output
    where
        T::Item: Sync + Send
; }

Associated Types

type Output: IFuture<Output = Result<K, K::ConstructError>>

Loading content...

Required methods

fn decode<T: Target<'de, K> + Sync + Send + 'static>(input: C) -> Self::Output where
    T::Item: Sync + Send

Loading content...

Implementors

impl<'de, C: Sync + Send + UniformStreamSink<Self::Representation> + 'static, T: Format + 'static, K: Kind> Decode<'de, C, K> for T where
    Self::Representation: Sync + Send + Clone,
    <C as ISink<Self::Representation>>::Error: ErrorBound, 
[src]

type Output = Fallible<K, K::ConstructError>

Loading content...