pub struct OwnedRangeScanSession<S: Store> { /* private fields */ }Expand description
Retained forward traversal over one owned read session.
Implementations§
Source§impl<S: Store> OwnedRangeScanSession<S>
impl<S: Store> OwnedRangeScanSession<S>
Sourcepub fn next_until<B>(
&mut self,
visit: impl for<'entry> FnMut(EntryRef<'entry>) -> ControlFlow<B>,
) -> Result<ScanOutcome<B>, Error>
pub fn next_until<B>( &mut self, visit: impl for<'entry> FnMut(EntryRef<'entry>) -> ControlFlow<B>, ) -> Result<ScanOutcome<B>, Error>
Continue the retained traversal until its bound or callback stop.
pub fn is_done(&self) -> bool
Auto Trait Implementations§
impl<S> Freeze for OwnedRangeScanSession<S>
impl<S> RefUnwindSafe for OwnedRangeScanSession<S>where
S: RefUnwindSafe,
impl<S> Send for OwnedRangeScanSession<S>
impl<S> Sync for OwnedRangeScanSession<S>
impl<S> Unpin for OwnedRangeScanSession<S>
impl<S> UnsafeUnpin for OwnedRangeScanSession<S>
impl<S> UnwindSafe for OwnedRangeScanSession<S>where
S: RefUnwindSafe,
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