pub enum SyncStatus {
Idle,
DiscoveringPeers,
Replicating,
Degraded(String),
Stopped,
}Expand description
Coarse sync health and progress status.
Variants§
Idle
No discovery or replication work is active.
DiscoveringPeers
The runtime is resolving or selecting peers.
Replicating
A replication exchange is in progress.
Degraded(String)
Sync is available with the supplied degradation reason.
Stopped
Sync has been intentionally stopped.
Trait Implementations§
Source§impl Clone for SyncStatus
impl Clone for SyncStatus
Source§fn clone(&self) -> SyncStatus
fn clone(&self) -> SyncStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SyncStatus
impl Debug for SyncStatus
impl Eq for SyncStatus
Source§impl PartialEq for SyncStatus
impl PartialEq for SyncStatus
impl StructuralPartialEq for SyncStatus
Auto Trait Implementations§
impl Freeze for SyncStatus
impl RefUnwindSafe for SyncStatus
impl Send for SyncStatus
impl Sync for SyncStatus
impl Unpin for SyncStatus
impl UnsafeUnpin for SyncStatus
impl UnwindSafe for SyncStatus
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