Struct tantivy_sstable::value::RangeValueWriter
source · pub struct RangeValueWriter { /* private fields */ }
Expand description
Range writer. The range are required to partition the space.
In other words, two consecutive keys k1
and k2
are required to observe
range_sstable[k1].end == range_sstable[k2].start
.
The writer will panic if the inserted value do not follow this property.
The first range is not required to start at 0
.
Trait Implementations§
source§impl Default for RangeValueWriter
impl Default for RangeValueWriter
source§fn default() -> RangeValueWriter
fn default() -> RangeValueWriter
Returns the “default value” for a type. Read more
source§impl ValueWriter for RangeValueWriter
impl ValueWriter for RangeValueWriter
Auto Trait Implementations§
impl Freeze for RangeValueWriter
impl RefUnwindSafe for RangeValueWriter
impl Send for RangeValueWriter
impl Sync for RangeValueWriter
impl Unpin for RangeValueWriter
impl UnwindSafe for RangeValueWriter
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