Skip to main content

ClientFramer

Trait ClientFramer 

Source
pub trait ClientFramer: 'static {
    type Head;

    // Required method
    fn parse(&mut self, buf: &Bytes) -> Option<(Self::Head, usize)>;
}

Required Associated Types§

Required Methods§

Source

fn parse(&mut self, buf: &Bytes) -> Option<(Self::Head, usize)>

Implementors§