pub enum KernelPhase {
Created,
Compiled,
Booted,
Shutdown,
}Expand description
Lifecycle phase of a Kernel.
Variants§
Created
Bundles may still be registered.
Compiled
build has run; Kernel::boot is allowed.
Booted
boot has run; Kernel::shutdown is allowed.
Shutdown
Terminal phase after shutdown.
Trait Implementations§
Source§impl Clone for KernelPhase
impl Clone for KernelPhase
Source§fn clone(&self) -> KernelPhase
fn clone(&self) -> KernelPhase
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 KernelPhase
Source§impl Debug for KernelPhase
impl Debug for KernelPhase
Source§impl Display for KernelPhase
impl Display for KernelPhase
impl Eq for KernelPhase
Source§impl Hash for KernelPhase
impl Hash for KernelPhase
Source§impl PartialEq for KernelPhase
impl PartialEq for KernelPhase
Source§fn eq(&self, other: &KernelPhase) -> bool
fn eq(&self, other: &KernelPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KernelPhase
Auto Trait Implementations§
impl Freeze for KernelPhase
impl RefUnwindSafe for KernelPhase
impl Send for KernelPhase
impl Sync for KernelPhase
impl Unpin for KernelPhase
impl UnsafeUnpin for KernelPhase
impl UnwindSafe for KernelPhase
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