pub trait Encoder {
    type Item;
    type Error: Error + 'static;

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

Required Associated Types

Required Methods

Implementors