pub struct SyncCursor {
pub local_version: u64,
pub remote_version: u64,
}Expand description
Cursor tracking sync progress between local and remote stores.
Fields§
§local_version: u64Last synced version in the local store.
remote_version: u64Last synced version in the remote store.
Trait Implementations§
Source§impl Clone for SyncCursor
impl Clone for SyncCursor
Source§fn clone(&self) -> SyncCursor
fn clone(&self) -> SyncCursor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyncCursor
impl Debug for SyncCursor
Source§impl Default for SyncCursor
impl Default for SyncCursor
Source§fn default() -> SyncCursor
fn default() -> SyncCursor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyncCursor
impl RefUnwindSafe for SyncCursor
impl Send for SyncCursor
impl Sync for SyncCursor
impl Unpin for SyncCursor
impl UnsafeUnpin for SyncCursor
impl UnwindSafe for SyncCursor
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