#[non_exhaustive]pub struct RangeScan {
pub start: Key,
pub end: Key,
pub after: Option<Cursor>,
pub limit: u32,
}Expand description
One ordered range in a batched scan. Its cursor belongs to this exact
range, just as for NamespaceStore::scan.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start: KeyInclusive lower bound.
end: KeyExclusive upper bound.
after: Option<Cursor>Resume strictly after this cursor.
limit: u32Requested maximum entries, at least one.
Implementations§
Trait Implementations§
impl Eq for RangeScan
impl StructuralPartialEq for RangeScan
Auto Trait Implementations§
impl !Freeze for RangeScan
impl RefUnwindSafe for RangeScan
impl Send for RangeScan
impl Sync for RangeScan
impl Unpin for RangeScan
impl UnsafeUnpin for RangeScan
impl UnwindSafe for RangeScan
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