[][src]Trait coconut::Encoder

pub trait Encoder {
type Item;
type Error;
    fn encode(
        &mut self,
        item: Self::Item,
        dest: &mut BytesMut
    ) -> Result<(), Self::Error>; }

Associated Types

type Item

type Error

Loading content...

Required methods

fn encode(
    &mut self,
    item: Self::Item,
    dest: &mut BytesMut
) -> Result<(), Self::Error>

Loading content...

Implementors

Loading content...