pub enum ReplicatorState {
Stopped(Error),
Offline,
Connecting,
Idle,
Busy(C4Progress),
}Expand description
The possible states of a replicator
Variants§
Stopped(Error)
Finished, or got a fatal error.
Offline
Offline, replication doesn’t not work
Connecting
Connection is in progress.
Idle
Continuous replicator has caught up and is waiting for changes.
Busy(C4Progress)
< Connected and actively working.
Trait Implementations§
Source§impl Debug for ReplicatorState
impl Debug for ReplicatorState
Source§impl From<C4ReplicatorStatus> for ReplicatorState
impl From<C4ReplicatorStatus> for ReplicatorState
Source§fn from(status: C4ReplicatorStatus) -> Self
fn from(status: C4ReplicatorStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReplicatorState
impl RefUnwindSafe for ReplicatorState
impl Send for ReplicatorState
impl Sync for ReplicatorState
impl Unpin for ReplicatorState
impl UnwindSafe for ReplicatorState
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