pub enum MigrationState {
Importing,
Migrating,
Streaming,
Finalizing,
Complete,
}Expand description
Current state of a slot migration.
Variants§
Importing
Target has marked slot as importing, waiting for source.
Migrating
Source has marked slot as migrating, ready to stream keys.
Streaming
Keys are being transferred in batches.
Finalizing
Final batch being sent, brief pause on writes.
Complete
Migration complete, ownership transferred.
Trait Implementations§
Source§impl Clone for MigrationState
impl Clone for MigrationState
Source§fn clone(&self) -> MigrationState
fn clone(&self) -> MigrationState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MigrationState
impl Debug for MigrationState
Source§impl<'de> Deserialize<'de> for MigrationState
impl<'de> Deserialize<'de> for MigrationState
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
Source§impl Display for MigrationState
impl Display for MigrationState
Source§impl PartialEq for MigrationState
impl PartialEq for MigrationState
Source§impl Serialize for MigrationState
impl Serialize for MigrationState
impl Copy for MigrationState
impl Eq for MigrationState
impl StructuralPartialEq for MigrationState
Auto Trait Implementations§
impl Freeze for MigrationState
impl RefUnwindSafe for MigrationState
impl Send for MigrationState
impl Sync for MigrationState
impl Unpin for MigrationState
impl UnsafeUnpin for MigrationState
impl UnwindSafe for MigrationState
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