#[repr(u8)]pub enum ConcurrentBootstrapPhase {
Inactive = 0,
ConcurrentBootstrapping = 1,
Synchronizing = 2,
}Expand description
Phase of a concurrent bootstrap.
#[repr(u8)] + NoUninit so it can be stored in a lock-free Atomic.
Variants§
Inactive = 0
No concurrent bootstrap is in progress.
ConcurrentBootstrapping = 1
New and modified views are backfilling in the background while the pre-existing views stay live and serving.
Synchronizing = 2
The cutover window: inputs are paused while recorded changes are synchronized into the new views.
Trait Implementations§
Source§impl Clone for ConcurrentBootstrapPhase
impl Clone for ConcurrentBootstrapPhase
Source§fn clone(&self) -> ConcurrentBootstrapPhase
fn clone(&self) -> ConcurrentBootstrapPhase
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 ConcurrentBootstrapPhase
Source§impl Debug for ConcurrentBootstrapPhase
impl Debug for ConcurrentBootstrapPhase
Source§impl Default for ConcurrentBootstrapPhase
impl Default for ConcurrentBootstrapPhase
Source§fn default() -> ConcurrentBootstrapPhase
fn default() -> ConcurrentBootstrapPhase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConcurrentBootstrapPhase
impl<'de> Deserialize<'de> for ConcurrentBootstrapPhase
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 ConcurrentBootstrapPhase
impl Display for ConcurrentBootstrapPhase
impl Eq for ConcurrentBootstrapPhase
impl NoUninit for ConcurrentBootstrapPhase
Source§impl PartialEq for ConcurrentBootstrapPhase
impl PartialEq for ConcurrentBootstrapPhase
Source§impl Serialize for ConcurrentBootstrapPhase
impl Serialize for ConcurrentBootstrapPhase
impl StructuralPartialEq for ConcurrentBootstrapPhase
Auto Trait Implementations§
impl Freeze for ConcurrentBootstrapPhase
impl RefUnwindSafe for ConcurrentBootstrapPhase
impl Send for ConcurrentBootstrapPhase
impl Sync for ConcurrentBootstrapPhase
impl Unpin for ConcurrentBootstrapPhase
impl UnsafeUnpin for ConcurrentBootstrapPhase
impl UnwindSafe for ConcurrentBootstrapPhase
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.