pub enum ReplicationState {
Connect,
Connecting,
Sync,
Connected,
}
Expand description
The state of the replication from the point of view of the master,
returned by the role
command.
Variants§
Connect
the instance needs to connect to its master
Connecting
the master-replica connection is in progress
Sync
the master and replica are trying to perform the synchronization
Connected
the replica is online
Trait Implementations§
Source§impl FromValue for ReplicationState
impl FromValue for ReplicationState
Auto Trait Implementations§
impl Freeze for ReplicationState
impl RefUnwindSafe for ReplicationState
impl Send for ReplicationState
impl Sync for ReplicationState
impl Unpin for ReplicationState
impl UnwindSafe for ReplicationState
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