pub enum MCause {
Exception(MCauseException),
Interrupt(MCauseInterrupt),
}Expand description
Combined mcause CSR value
Variants§
Exception(MCauseException)
Interrupt(MCauseInterrupt)
Implementations§
Trait Implementations§
Source§impl From<MCauseException> for MCause
impl From<MCauseException> for MCause
Source§fn from(cause: MCauseException) -> Self
fn from(cause: MCauseException) -> Self
Converts to this type from the input type.
Source§impl From<MCauseInterrupt> for MCause
impl From<MCauseInterrupt> for MCause
Source§fn from(cause: MCauseInterrupt) -> Self
fn from(cause: MCauseInterrupt) -> Self
Converts to this type from the input type.
impl Copy for MCause
impl Eq for MCause
impl StructuralPartialEq for MCause
Auto Trait Implementations§
impl Freeze for MCause
impl RefUnwindSafe for MCause
impl Send for MCause
impl Sync for MCause
impl Unpin for MCause
impl UnsafeUnpin for MCause
impl UnwindSafe for MCause
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