risingwave_hummock_trace

Trait ReplayWrite

source
pub trait ReplayWrite {
    // Required methods
    fn insert(
        &mut self,
        key: TracedBytes,
        new_val: TracedBytes,
        old_val: Option<TracedBytes>,
    ) -> Result<()>;
    fn delete(&mut self, key: TracedBytes, old_val: TracedBytes) -> Result<()>;
}

Required Methods§

source

fn insert( &mut self, key: TracedBytes, new_val: TracedBytes, old_val: Option<TracedBytes>, ) -> Result<()>

source

fn delete(&mut self, key: TracedBytes, old_val: TracedBytes) -> Result<()>

Implementors§