#[repr(u8)]pub enum BootPhase {
Uninitialized = 0,
Init = 1,
Migrate = 2,
Recover = 3,
Warmup = 4,
Ready = 5,
ReadOnlyRecovery = 6,
ForceRecovery = 7,
ShuttingDown = 8,
Failed = 9,
}Expand description
Boot phase states (DFA transitions)
Variants§
Uninitialized = 0
Initial state before any boot activity
Init = 1
Initializing core subsystems (allocator, config, logging)
Migrate = 2
Running schema/format migrations
Recover = 3
Recovering from WAL (ARIES redo/undo)
Warmup = 4
Warming up caches and indexes
Ready = 5
Fully operational
ReadOnlyRecovery = 6
Read-only recovery mode (for forensics)
ForceRecovery = 7
Force recovery mode (skip some checks)
ShuttingDown = 8
Graceful shutdown in progress
Failed = 9
Boot failed (terminal state)
Implementations§
Trait Implementations§
impl Copy for BootPhase
impl Eq for BootPhase
impl StructuralPartialEq for BootPhase
Auto Trait Implementations§
impl Freeze for BootPhase
impl RefUnwindSafe for BootPhase
impl Send for BootPhase
impl Sync for BootPhase
impl Unpin for BootPhase
impl UnsafeUnpin for BootPhase
impl UnwindSafe for BootPhase
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§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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more