risingwave_hummock_trace::read

Trait Deserializer

source
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§

source

fn deserialize(&self, reader: &mut R) -> Result<Record>

consumes the reader and deserialize a record

Implementors§