#[repr(u8)]
pub enum ExceptionLevel {
    Zero,
    One,
    Two,
    Three,
}
Available on AArch64 only.
Expand description

EL: Defines the privilege level of executing code. Higher values have more privileges.

Variants§

§

Zero

EL0, used for unprivileged user code.

§

One

EL1, used for OS kernel code.

§

Two

EL2, used for hypervisors in virtualized systems.

§

Three

EL3, used for the secure manager.

Implementations§

Get the current exception level. Only accessible from EL1 or higher.

Trait Implementations§

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.