[][src]Trait swim_codec::decoder::Decoder

pub trait Decoder: Sized {
    type Input;
    type Output;
    type Error;
    fn decode(
        self,
        input: &mut Self::Input
    ) -> Then<Self, Self::Output, Self::Error>; }

Associated Types

type Input

type Output

type Error

Loading content...

Required methods

fn decode(
    self,
    input: &mut Self::Input
) -> Then<Self, Self::Output, Self::Error>

Loading content...

Implementors

impl<I, O> Decoder for Base64Decoder<I, O> where
    I: Input<Token = char>,
    O: Output<Token = u8>,
    O::Err: Debug
[src]

type Input = I

type Output = O::Out

type Error = Base64Error

Loading content...