pub enum MigrationPhase {
Validating,
PreparingLocalEngines,
AddingLearners,
ChangingVoters,
VerifyingMembership,
CommittingPlacement,
Finalizing,
Succeeded,
Failed,
}Variants§
Validating
PreparingLocalEngines
AddingLearners
ChangingVoters
VerifyingMembership
CommittingPlacement
Finalizing
Succeeded
Failed
Implementations§
Source§impl MigrationPhase
impl MigrationPhase
pub fn is_running(self) -> bool
pub fn can_advance_to(self, next: Self) -> bool
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
Source§impl<'de> Deserialize<'de> for MigrationPhase
impl<'de> Deserialize<'de> for MigrationPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MigrationPhase
Source§impl Ord for MigrationPhase
impl Ord for MigrationPhase
Source§fn cmp(&self, other: &MigrationPhase) -> Ordering
fn cmp(&self, other: &MigrationPhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MigrationPhase
impl PartialEq for MigrationPhase
Source§impl PartialOrd for MigrationPhase
impl PartialOrd for MigrationPhase
Source§impl Serialize for MigrationPhase
impl Serialize for MigrationPhase
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