Enum strontium::types::StrontiumError
source · pub enum StrontiumError {
DivisionByZero,
OutOfBounds,
IllegalOpcode(u8),
UnexpectedEof,
TypeMismatch,
InvalidUtf8String,
}
Variants§
DivisionByZero
A division by zero has occured.
OutOfBounds
An invalid memory or register address has been accessed.
IllegalOpcode(u8)
The machine encountered an invalid operation code.
UnexpectedEof
The bytecode sequence has ended unexpectedly.
TypeMismatch
The type of a register does not match the provided value.
InvalidUtf8String
Trait Implementations§
source§impl Debug for StrontiumError
impl Debug for StrontiumError
source§impl PartialEq for StrontiumError
impl PartialEq for StrontiumError
source§fn eq(&self, other: &StrontiumError) -> bool
fn eq(&self, other: &StrontiumError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StrontiumError
Auto Trait Implementations§
impl RefUnwindSafe for StrontiumError
impl Send for StrontiumError
impl Sync for StrontiumError
impl Unpin for StrontiumError
impl UnwindSafe for StrontiumError
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