#[non_exhaustive]#[repr(u8)]pub enum ElevatedRunLevel {
Level1 = 1,
Level2 = 2,
Level3 = 3,
Level4 = 4,
Level5 = 5,
Level6 = 6,
Level7 = 7,
}Expand description
Interrupt run levels.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
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.
Implementations§
Source§impl ElevatedRunLevel
impl ElevatedRunLevel
Sourcepub const fn max() -> ElevatedRunLevel
Available on crate feature unstable only.
pub const fn max() -> ElevatedRunLevel
unstable only.Maximum interrupt 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 interrupt run level
Sourcepub const fn from_priority(priority: Priority) -> Self
pub const fn from_priority(priority: Priority) -> Self
Converts a Priority into an ElevatedRunLevel.
Trait Implementations§
Source§impl Clone for ElevatedRunLevel
impl Clone for ElevatedRunLevel
Source§fn clone(&self) -> ElevatedRunLevel
fn clone(&self) -> ElevatedRunLevel
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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.
Source§impl TryFrom<u8> 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<u8> for ElevatedRunLevel
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
§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)
clone_to_uninit)