pub trait ImmutableMemTable:
Send
+ Sync
+ Debug {
// Required methods
fn get(&self, key: &[u8], seqno: u64) -> Option<Option<Vec<u8>>>;
fn iter(
&self,
) -> Box<dyn Iterator<Item = (Vec<u8>, Option<Vec<u8>>, u64)> + '_>;
fn size(&self) -> u64;
}Expand description
Trait for immutable memtable operations
Required Methods§
Sourcefn get(&self, key: &[u8], seqno: u64) -> Option<Option<Vec<u8>>>
fn get(&self, key: &[u8], seqno: u64) -> Option<Option<Vec<u8>>>
Get a value at a specific sequence number