Trait tantivy_sstable::value::ValueReader
source · pub trait ValueReader: Default {
type Value;
// Required methods
fn value(&self, idx: usize) -> &Self::Value;
fn load(&mut self, data: &[u8]) -> Result<usize>;
}
Expand description
ValueReader
is a trait describing the contract of something
reading blocks of value, and offering random access within this values.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.