pub struct DataBounds {
pub prefix: Vec<u8>,
pub start: Bound<Vec<u8>>,
pub end: Bound<Vec<u8>>,
}Expand description
The raw engine range of one directory’s data: the resolved prefix and
the raw byte bounds over the engine’s whole keyspace. The start bound
carries its own inclusion (Included/Excluded); the end bound is
always Excluded. Cursor-yielding keys carry the prefix; strip
prefix.len() bytes to get the within-directory key.
Fields§
§prefix: Vec<u8>The directory’s allocated prefix.
start: Bound<Vec<u8>>Raw start bound.
end: Bound<Vec<u8>>Raw end bound, exclusive.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataBounds
impl RefUnwindSafe for DataBounds
impl Send for DataBounds
impl Sync for DataBounds
impl Unpin for DataBounds
impl UnsafeUnpin for DataBounds
impl UnwindSafe for DataBounds
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