pub struct SortedProbe<'a, P: PageStore> { /* private fields */ }Expand description
Point lookups in ascending key order that keep the leaf of the last one.
get walks from the root for every key. A checkpoint asks about
thousands of keys of one tree in order, most of them neighbours: this
answers from the leaf in hand while the next key can only be there.
It reads the tree as each leaf was when it was read, so it is for a caller
that owns the tree’s writes while it asks, as a checkpoint does.
Implementations§
Source§impl<P: PageStore> SortedProbe<'_, P>
impl<P: PageStore> SortedProbe<'_, P>
Auto Trait Implementations§
impl<'a, P> !RefUnwindSafe for SortedProbe<'a, P>
impl<'a, P> !UnwindSafe for SortedProbe<'a, P>
impl<'a, P> Forget for SortedProbe<'a, P>
impl<'a, P> Freeze for SortedProbe<'a, P>
impl<'a, P> Move for SortedProbe<'a, P>
impl<'a, P> Send for SortedProbe<'a, P>
impl<'a, P> Sync for SortedProbe<'a, P>
impl<'a, P> Unpin for SortedProbe<'a, P>
impl<'a, P> UnsafeUnpin for SortedProbe<'a, P>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more