#[repr(u8)]pub enum TrapSource {
CurrentSpEl0 = 0,
CurrentSpElx = 1,
LowerAArch64 = 2,
LowerAArch32 = 3,
}Available on AArch64 only.
Expand description
Execution domain selecting an AArch64 vector slot.
Variants§
CurrentSpEl0 = 0
Current exception level using SP_EL0.
CurrentSpElx = 1
Current exception level using its own stack.
LowerAArch64 = 2
A lower level executing AArch64.
LowerAArch32 = 3
A lower level executing AArch32.
Trait Implementations§
Source§impl Clone for TrapSource
impl Clone for TrapSource
Source§fn clone(&self) -> TrapSource
fn clone(&self) -> TrapSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrapSource
Source§impl Debug for TrapSource
impl Debug for TrapSource
impl Eq for TrapSource
Source§impl PartialEq for TrapSource
impl PartialEq for TrapSource
impl StructuralPartialEq for TrapSource
Auto Trait Implementations§
impl Freeze for TrapSource
impl RefUnwindSafe for TrapSource
impl Send for TrapSource
impl Sync for TrapSource
impl Unpin for TrapSource
impl UnsafeUnpin for TrapSource
impl UnwindSafe for TrapSource
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