pub struct ReadRange {
pub start: Vec<u8>,
pub end: Vec<u8>,
pub limit: NonZeroU32,
pub reverse: bool,
}
Expand description
A request to read a range of keys from the database. If end
is None
,
then the range is from start
shall also be used as the end of the range.
The range is inclusive of the start and exclusive of the end. The start may not be greater than the end.
The range is limited to limit
number of entries.
Fields§
§start: Vec<u8>
§end: Vec<u8>
§limit: NonZeroU32
§reverse: bool
Auto Trait Implementations§
impl RefUnwindSafe for ReadRange
impl Send for ReadRange
impl Sync for ReadRange
impl Unpin for ReadRange
impl UnwindSafe for ReadRange
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