pub trait Deserializer<R: Read> {
// Required method
fn deserialize(&self, reader: &mut R) -> Result<Record>;
}
Expand description
Deserializer decodes a record from memory
Required Methods§
sourcefn deserialize(&self, reader: &mut R) -> Result<Record>
fn deserialize(&self, reader: &mut R) -> Result<Record>
consumes the reader and deserialize a record