Enum sandkiste::errors::MachineErrorKind
source · pub enum MachineErrorKind {
Memory,
Syntax,
ExecLimit,
Runtime,
Data,
Unknown,
}
Expand description
Kinds of MachineError
s
Variants§
Memory
Out-of-memory error
Syntax
Syntax error during compilation (see Compile::compile
)
ExecLimit
Execution limit error
Runtime
Generic runtime error (see Function::call
)
Data
Unexpected value(s) (e.g. wrong type or wrong count of return values)
Unknown
Error kind unknown
Trait Implementations§
source§impl Clone for MachineErrorKind
impl Clone for MachineErrorKind
source§fn clone(&self) -> MachineErrorKind
fn clone(&self) -> MachineErrorKind
Returns a copy 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 MachineErrorKind
impl Debug for MachineErrorKind
source§impl Default for MachineErrorKind
impl Default for MachineErrorKind
source§impl Hash for MachineErrorKind
impl Hash for MachineErrorKind
source§impl PartialEq<MachineErrorKind> for MachineErrorKind
impl PartialEq<MachineErrorKind> for MachineErrorKind
source§fn eq(&self, other: &MachineErrorKind) -> bool
fn eq(&self, other: &MachineErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.