#[repr(u8)]pub enum ElevatedRunLevel {
Show 15 variants
Level1 = 1,
Level2 = 2,
Level3 = 3,
Level4 = 4,
Level5 = 5,
Level6 = 6,
Level7 = 7,
Level8 = 8,
Level9 = 9,
Level10 = 10,
Level11 = 11,
Level12 = 12,
Level13 = 13,
Level14 = 14,
Level15 = 15,
}Expand description
Interrupt run levels.
Variants§
Level1 = 1
Run level 1.
Level2 = 2
Run level 2.
Level3 = 3
Run level 3.
Level4 = 4
Run level 4.
Level5 = 5
Run level 5.
Level6 = 6
Run level 6.
Level7 = 7
Run level 7.
Level8 = 8
Run level 8.
Level9 = 9
Run level 9.
Level10 = 10
Run level 10.
Level11 = 11
Run level 11.
Level12 = 12
Run level 12.
Level13 = 13
Run level 13.
Level14 = 14
Run level 14.
Level15 = 15
Run level 15.
Implementations§
Source§impl ElevatedRunLevel
impl ElevatedRunLevel
Sourcepub const fn from_priority(priority: Priority) -> Self
pub const fn from_priority(priority: Priority) -> Self
Converts a Priority into an ElevatedRunLevel.
Source§impl ElevatedRunLevel
impl ElevatedRunLevel
Sourcepub const fn max() -> ElevatedRunLevel
Available on crate feature unstable only.
pub const fn max() -> ElevatedRunLevel
unstable only.Returns the highest run level
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub const fn min() -> ElevatedRunLevel
pub const fn min() -> ElevatedRunLevel
Minimum elevated run level
Trait Implementations§
Source§impl Clone for ElevatedRunLevel
impl Clone for ElevatedRunLevel
Source§fn clone(&self) -> ElevatedRunLevel
fn clone(&self) -> ElevatedRunLevel
Returns a duplicate 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 ElevatedRunLevel
impl Debug for ElevatedRunLevel
Source§impl From<Priority> for ElevatedRunLevel
impl From<Priority> for ElevatedRunLevel
Source§impl Hash for ElevatedRunLevel
impl Hash for ElevatedRunLevel
Source§impl Ord for ElevatedRunLevel
impl Ord for ElevatedRunLevel
Source§impl PartialEq<ElevatedRunLevel> for RunLevel
impl PartialEq<ElevatedRunLevel> for RunLevel
Source§impl PartialEq for ElevatedRunLevel
impl PartialEq for ElevatedRunLevel
Source§impl PartialOrd for ElevatedRunLevel
impl PartialOrd for ElevatedRunLevel
Source§fn partial_cmp(&self, other: &ElevatedRunLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &ElevatedRunLevel) -> Option<Ordering>
Source§impl TryFrom<u32> for ElevatedRunLevel
Available on crate feature unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl TryFrom<u32> for ElevatedRunLevel
Available on crate feature
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl Copy for ElevatedRunLevel
impl Eq for ElevatedRunLevel
impl StructuralPartialEq for ElevatedRunLevel
Auto Trait Implementations§
impl Freeze for ElevatedRunLevel
impl RefUnwindSafe for ElevatedRunLevel
impl Send for ElevatedRunLevel
impl Sync for ElevatedRunLevel
impl Unpin for ElevatedRunLevel
impl UnsafeUnpin for ElevatedRunLevel
impl UnwindSafe for ElevatedRunLevel
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)