#[repr(u8)]pub enum InitStage {
Bootstrap = 0,
Kthread = 1,
Process = 2,
}Expand description
Initialization stages for components.
Bootstrap: Early kernel initialization, before SMP.Kthread: After SMP enabled, in kernel-thread context.Process: After first user process created.
Variants§
Trait Implementations§
impl Copy for InitStage
impl Eq for InitStage
Source§impl Ord for InitStage
impl Ord for InitStage
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
Source§impl PartialOrd for InitStage
impl PartialOrd for InitStage
impl StructuralPartialEq for InitStage
Auto Trait Implementations§
impl Freeze for InitStage
impl RefUnwindSafe for InitStage
impl Send for InitStage
impl Sync for InitStage
impl Unpin for InitStage
impl UnsafeUnpin for InitStage
impl UnwindSafe for InitStage
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