#[repr(C)]pub enum lucet_trapcode {
StackOverflow = 0,
HeapOutOfBounds = 1,
OutOfBounds = 2,
IndirectCallToNull = 3,
BadSignature = 4,
IntegerOverflow = 5,
IntegerDivByZero = 6,
BadConversionToInteger = 7,
Interrupt = 8,
TableOutOfBounds = 9,
Unreachable = 10,
Unknown = 11,
}
Variants§
StackOverflow = 0
HeapOutOfBounds = 1
OutOfBounds = 2
IndirectCallToNull = 3
BadSignature = 4
IntegerOverflow = 5
IntegerDivByZero = 6
BadConversionToInteger = 7
Interrupt = 8
TableOutOfBounds = 9
Unreachable = 10
Unknown = 11
Trait Implementations§
Source§impl Clone for lucet_trapcode
impl Clone for lucet_trapcode
Source§fn clone(&self) -> lucet_trapcode
fn clone(&self) -> lucet_trapcode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for lucet_trapcode
impl Debug for lucet_trapcode
impl Copy for lucet_trapcode
Auto Trait Implementations§
impl Freeze for lucet_trapcode
impl RefUnwindSafe for lucet_trapcode
impl Send for lucet_trapcode
impl Sync for lucet_trapcode
impl Unpin for lucet_trapcode
impl UnwindSafe for lucet_trapcode
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