Trait cornflakes::Readable

source ·
pub trait Readable: DataSize {
    fn read_from(reader: &mut impl Buf) -> ReadResult<Self>
    where
        Self: Sized
; }
Expand description

Reads a type from bytes.

Required Methods§

Reads Self from a Buf of bytes.

Implementations on Foreign Types§

Implementors§