pub trait ClientFramer: 'static { type Head; // Required method fn parse(&mut self, buf: &Bytes) -> Option<(Self::Head, usize)>; }