[][src]Enum riscv::register::mcause::Trap

pub enum Trap {
    Interrupt(Interrupt),
    Exception(Exception),
}

Trap Cause

Variants

Interrupt(Interrupt)
Exception(Exception)

Trait Implementations

impl Clone for Trap[src]

impl Copy for Trap[src]

impl Debug for Trap[src]

impl Eq for Trap[src]

impl PartialEq<Trap> for Trap[src]

impl StructuralEq for Trap[src]

impl StructuralPartialEq for Trap[src]

Auto Trait Implementations

impl Send for Trap

impl Sync for Trap

impl Unpin for Trap

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.