Enum riscv::csr::Trap
[−]
[src]
pub enum Trap { Interrupt(Interrupt), Exception(Exception), }
Machine Cause CSR (mcause) is ReadOnly. Trap Cause
Variants
Interrupt(Interrupt)
Exception(Exception)
Trait Implementations
impl Copy for Trap
[src]
impl Clone for Trap
[src]
fn clone(&self) -> Trap
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more