#[repr(u8)]pub enum ExceptionLevel {
El0 = 0,
El1 = 1,
El2 = 2,
El3 = 3,
}Expand description
An AArch64 exception level.
Variants§
El0 = 0
Exception level 0.
El1 = 1
Exception level 1.
El2 = 2
Exception level 2.
El3 = 3
Exception level 3.
Trait Implementations§
Source§impl Clone for ExceptionLevel
impl Clone for ExceptionLevel
Source§fn clone(&self) -> ExceptionLevel
fn clone(&self) -> ExceptionLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExceptionLevel
impl Debug for ExceptionLevel
Source§impl From<ExceptionLevel> for u8
impl From<ExceptionLevel> for u8
Source§fn from(enum_value: ExceptionLevel) -> Self
fn from(enum_value: ExceptionLevel) -> Self
Converts to this type from the input type.
Source§impl Ord for ExceptionLevel
impl Ord for ExceptionLevel
Source§fn cmp(&self, other: &ExceptionLevel) -> Ordering
fn cmp(&self, other: &ExceptionLevel) -> Ordering
1.21.0 · 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 PartialEq for ExceptionLevel
impl PartialEq for ExceptionLevel
Source§impl PartialOrd for ExceptionLevel
impl PartialOrd for ExceptionLevel
Source§impl TryFrom<u8> for ExceptionLevel
impl TryFrom<u8> for ExceptionLevel
Source§type Error = TryFromPrimitiveError<ExceptionLevel>
type Error = TryFromPrimitiveError<ExceptionLevel>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ExceptionLevel
impl TryFromPrimitive for ExceptionLevel
const NAME: &'static str = "ExceptionLevel"
type Primitive = u8
type Error = TryFromPrimitiveError<ExceptionLevel>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ExceptionLevel
impl Eq for ExceptionLevel
impl StructuralPartialEq for ExceptionLevel
Auto Trait Implementations§
impl Freeze for ExceptionLevel
impl RefUnwindSafe for ExceptionLevel
impl Send for ExceptionLevel
impl Sync for ExceptionLevel
impl Unpin for ExceptionLevel
impl UnwindSafe for ExceptionLevel
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