risingwave_hummock_trace::write

Trait Serializer

source
pub(crate) trait Serializer<W: Write> {
    // Required method
    fn serialize(&self, record: Record, buf: &mut W) -> Result<usize>;
}
Expand description

Serializer serializes a record to std write.

Required Methods§

source

fn serialize(&self, record: Record, buf: &mut W) -> Result<usize>

Implementors§