Trait cornflakes::Readable
source · [−]pub trait Readable {
fn read_from(reader: &mut impl Reader) -> Result<Self, ReadError>
where
Self: Sized;
}Expand description
Reads a type from bytes.
pub trait Readable {
fn read_from(reader: &mut impl Reader) -> Result<Self, ReadError>
where
Self: Sized;
}Reads a type from bytes.