[][src]Trait coconut::Decoder

pub trait Decoder {
type Item;
    fn decode(&mut self, buf: &mut BytesMut) -> Option<Self::Item>;

    fn decode_eof(&mut self, buf: &mut BytesMut) -> Option<Self::Item> { ... }
}

Associated Types

type Item

Loading content...

Required methods

fn decode(&mut self, buf: &mut BytesMut) -> Option<Self::Item>

Loading content...

Provided methods

fn decode_eof(&mut self, buf: &mut BytesMut) -> Option<Self::Item>

Loading content...

Implementors

Loading content...