pub enum TrapKind {
    DivideByZero,
    IntegerOverflow,
    BadConversionToInteger,
    MemoryOutOfBounds,
    DisabledOpcode,
    StackOverflow,
}Available on crate feature 
interp only.Expand description
Stored within DoneReason::Trap.
Variants§
Auto Trait Implementations§
impl Freeze for TrapKind
impl RefUnwindSafe for TrapKind
impl Send for TrapKind
impl Sync for TrapKind
impl Unpin for TrapKind
impl UnwindSafe for TrapKind
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