Reader

Trait Reader 

Source
pub trait Reader: Send + Sync {
    // Required method
    fn next_packet(&mut self) -> Result<&[u8]>;
}
Expand description

Trait describing a packet reader

Required Methods§

Source

fn next_packet(&mut self) -> Result<&[u8]>

Should return the next packet off of the wire

Implementors§