pub enum DriverPriority {
Critical = 0,
Core = 1,
Standard = 2,
Late = 3,
}
Expand description
Driver priority levels for initialization order
Variants§
Critical = 0
Critical infrastructure drivers (interrupt controllers, memory controllers)
Core = 1
Core system drivers (timers, basic I/O)
Standard = 2
Standard device drivers (network, storage)
Late = 3
Late initialization drivers (filesystems, user interface)
Implementations§
Source§impl DriverPriority
impl DriverPriority
Sourcepub fn all() -> &'static [DriverPriority]
pub fn all() -> &'static [DriverPriority]
Get all priority levels in order
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Get a human-readable description of the priority level
Trait Implementations§
Source§impl Clone for DriverPriority
impl Clone for DriverPriority
Source§fn clone(&self) -> DriverPriority
fn clone(&self) -> DriverPriority
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DriverPriority
impl Debug for DriverPriority
Source§impl Ord for DriverPriority
impl Ord for DriverPriority
Source§impl PartialEq for DriverPriority
impl PartialEq for DriverPriority
Source§impl PartialOrd for DriverPriority
impl PartialOrd for DriverPriority
Source§fn partial_cmp(&self, other: &DriverPriority) -> Option<Ordering>
fn partial_cmp(&self, other: &DriverPriority) -> Option<Ordering>
impl Copy for DriverPriority
impl Eq for DriverPriority
impl StructuralPartialEq for DriverPriority
Auto Trait Implementations§
impl Freeze for DriverPriority
impl RefUnwindSafe for DriverPriority
impl Send for DriverPriority
impl Sync for DriverPriority
impl Unpin for DriverPriority
impl UnwindSafe for DriverPriority
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Qwhere
Q: Ord + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Comparable<K> for Qwhere
Q: Ord + ?Sized,
K: Borrow<Q> + ?Sized,
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.