pub enum SyncState {
Synchronized,
WaitingForSync {
requested_at: u64,
},
Applying,
Diverged,
}Expand description
Synchronization state machine states
Variants§
Synchronized
Contexts are synchronized
WaitingForSync
Waiting for sync response
Applying
Currently applying received diff
Diverged
Sync failed, need full resync
Trait Implementations§
impl Eq for SyncState
impl StructuralPartialEq for SyncState
Auto Trait Implementations§
impl Freeze for SyncState
impl RefUnwindSafe for SyncState
impl Send for SyncState
impl Sync for SyncState
impl Unpin for SyncState
impl UnsafeUnpin for SyncState
impl UnwindSafe for SyncState
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