pub enum MigrationPhase {
Snapshot,
Transfer,
Restore,
Replay,
Cutover,
Complete,
}Expand description
Phases of daemon migration.
Variants§
Snapshot
Take snapshot on source node.
Transfer
Transfer snapshot to target node.
Restore
Restore daemon on target, start buffering events.
Replay
Replay buffered events on target.
Cutover
Atomic routing cutover: new events go to target.
Complete
Cleanup source.
Trait Implementations§
Source§impl Clone for MigrationPhase
impl Clone for MigrationPhase
Source§fn clone(&self) -> MigrationPhase
fn clone(&self) -> MigrationPhase
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 moreimpl Copy for MigrationPhase
Source§impl Debug for MigrationPhase
impl Debug for MigrationPhase
impl Eq for MigrationPhase
Source§impl From<MigrationPhase> for MigrationPhaseSnapshot
impl From<MigrationPhase> for MigrationPhaseSnapshot
Source§fn from(p: MigrationPhase) -> MigrationPhaseSnapshot
fn from(p: MigrationPhase) -> MigrationPhaseSnapshot
Converts to this type from the input type.
Source§impl PartialEq for MigrationPhase
impl PartialEq for MigrationPhase
Source§fn eq(&self, other: &MigrationPhase) -> bool
fn eq(&self, other: &MigrationPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MigrationPhase
Auto Trait Implementations§
impl Freeze for MigrationPhase
impl RefUnwindSafe for MigrationPhase
impl Send for MigrationPhase
impl Sync for MigrationPhase
impl Unpin for MigrationPhase
impl UnsafeUnpin for MigrationPhase
impl UnwindSafe for MigrationPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.