pub struct ScanCursor {
pub stream_key: String,
pub next_sequence: u64,
}Expand description
Position a paged prefix scan resumes from.
Names one stream and the first sequence not yet delivered from it. Streams
sorting after stream_key are untouched by the resume and start at their
own sequence 0.
Fields§
§stream_key: StringStream the next page resumes inside.
next_sequence: u64First sequence the next page reads from that stream.
Trait Implementations§
Source§impl Clone for ScanCursor
impl Clone for ScanCursor
Source§impl Debug for ScanCursor
impl Debug for ScanCursor
impl Eq for ScanCursor
Source§impl PartialEq for ScanCursor
impl PartialEq for ScanCursor
impl StructuralPartialEq for ScanCursor
Auto Trait Implementations§
impl Freeze for ScanCursor
impl RefUnwindSafe for ScanCursor
impl Send for ScanCursor
impl Sync for ScanCursor
impl Unpin for ScanCursor
impl UnsafeUnpin for ScanCursor
impl UnwindSafe for ScanCursor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.