Trait raw_serde::deserialize::RawDeserialize [] [src]

pub trait RawDeserialize where
    Self: Sized
{ fn raw_deserialize(from: &mut Read) -> Result<Self, Error>; fn raw_deserialize_vec(from: &mut Read) -> Result<Vec<Self>, Error> { ... } }

The deserialize trait. Any struct that implements this can be deserialized from bytes, reading from anything that implements the Read trait. The location that is read from is important, if you try to read from the wrong place, you will get incorrect data or may encounter a crash! You must carefully manage your on-disk memory.

Required Methods

Provided Methods

Implementors