[][src]Trait swim_codec::encoder::Encoder

pub trait Encoder: Sized {
    type Input;
    type Output;
    type Error;
    fn encode(
        self,
        output: &mut Self::Output
    ) -> Then<Self, Self::Input, Self::Error>; }

Associated Types

type Input

type Output

type Error

Loading content...

Required methods

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

Loading content...

Implementors

impl<I, O> Encoder for Base64Encoder<I, O> where
    I: Input<Token = u8>,
    O: Output<Token = char>, 
[src]

type Input = I

type Output = O

type Error = ()

Loading content...