Trait ReadPacket

Source
pub trait ReadPacket<const N: usize>: ErrorType {
    // Required method
    fn read_packet(&mut self) -> Result<Vec<u8, N>, Self::Error>;
}

Required Methods§

Source

fn read_packet(&mut self) -> Result<Vec<u8, N>, Self::Error>

Implementors§