Enum couchbase_lite::ReplicatorState
source · [−]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
sourceimpl Debug for ReplicatorState
impl Debug for ReplicatorState
sourceimpl From<C4ReplicatorStatus> for ReplicatorState
impl From<C4ReplicatorStatus> for ReplicatorState
sourcefn from(status: C4ReplicatorStatus) -> Self
fn from(status: C4ReplicatorStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ReplicatorState
impl Send for ReplicatorState
impl Sync for ReplicatorState
impl Unpin for ReplicatorState
impl UnwindSafe for ReplicatorState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more