Struct SyncPage
pub struct SyncPage {
pub deltas: Vec<TrialDelta>,
pub cursor: Cursor,
pub more: bool,
}Expand description
One bounded page of Storage::sync_limited.
more is the only thing a caller cannot reconstruct from the deltas: an
exactly-full page and a truncated one look identical otherwise, and the
difference decides whether the caller must come back.
Fields§
§deltas: Vec<TrialDelta>The page’s deltas, ordered by sequence, one per changed trial.
cursor: CursorThe cursor covering exactly deltas.
more: boolWhether the bound cut the page short, so more changes are waiting at
cursor.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncPage
impl RefUnwindSafe for SyncPage
impl Send for SyncPage
impl Sync for SyncPage
impl Unpin for SyncPage
impl UnsafeUnpin for SyncPage
impl UnwindSafe for SyncPage
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