Enum riscv::csr::Trap [] [src]

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

Machine Cause CSR (mcause) is ReadOnly. Trap Cause

Variants

Trait Implementations

impl Copy for Trap
[src]

impl Clone for Trap
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Trap
[src]

[src]

Formats the value using the given formatter.