pub struct SessionKvPage {
pub entries: Vec<SessionKvEntry>,
pub last_scanned: Option<Vec<u16>>,
pub scanned_all: bool,
}Expand description
One page of a key scan.
scanned_all is false when the scan stopped on its bound rather than on
exhausting the keyspace, so a paginating caller can tell “no more matching
entries” from “look again past last_scanned”.
Fields§
§entries: Vec<SessionKvEntry>§last_scanned: Option<Vec<u16>>§scanned_all: boolTrait Implementations§
Source§impl Clone for SessionKvPage
impl Clone for SessionKvPage
Source§impl Debug for SessionKvPage
impl Debug for SessionKvPage
impl Eq for SessionKvPage
Source§impl PartialEq for SessionKvPage
impl PartialEq for SessionKvPage
impl StructuralPartialEq for SessionKvPage
Auto Trait Implementations§
impl Freeze for SessionKvPage
impl RefUnwindSafe for SessionKvPage
impl Send for SessionKvPage
impl Sync for SessionKvPage
impl Unpin for SessionKvPage
impl UnsafeUnpin for SessionKvPage
impl UnwindSafe for SessionKvPage
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.