pub struct ScanPage {
pub cursor: u64,
pub keys: Vec<Bytes>,
}Expand description
A page of keys returned by Client::scan.
Iterate until cursor is 0 to walk the full keyspace.
Fields§
§cursor: u64Cursor for the next call. 0 means iteration is complete.
keys: Vec<Bytes>Keys returned in this page.
Trait Implementations§
impl Eq for ScanPage
impl StructuralPartialEq for ScanPage
Auto Trait Implementations§
impl Freeze for ScanPage
impl RefUnwindSafe for ScanPage
impl Send for ScanPage
impl Sync for ScanPage
impl Unpin for ScanPage
impl UnsafeUnpin for ScanPage
impl UnwindSafe for ScanPage
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