Struct tantivy_sstable::VoidSSTable
source · pub struct VoidSSTable;
Trait Implementations§
source§impl SSTable for VoidSSTable
impl SSTable for VoidSSTable
type Value = ()
type ValueReader = VoidValueReader
type ValueWriter = VoidValueWriter
fn delta_writer<W: Write>(write: W) -> DeltaWriter<W, Self::ValueWriter>
fn writer<W: Write>(wrt: W) -> Writer<W, Self::ValueWriter>
fn delta_reader(reader: OwnedBytes) -> DeltaReader<Self::ValueReader>
fn reader(reader: OwnedBytes) -> Reader<Self::ValueReader>
source§fn create_empty_reader() -> Reader<Self::ValueReader>
fn create_empty_reader() -> Reader<Self::ValueReader>
Returns an empty static reader.
fn merge<W: Write, M: ValueMerger<Self::Value>>( io_readers: Vec<OwnedBytes>, w: W, merger: M ) -> Result<()>
Auto Trait Implementations§
impl Freeze for VoidSSTable
impl RefUnwindSafe for VoidSSTable
impl Send for VoidSSTable
impl Sync for VoidSSTable
impl Unpin for VoidSSTable
impl UnwindSafe for VoidSSTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more