pub enum LowerErrorKind {
Validation(ValidationErrorKind),
Decode {
context: DecodeContext,
kind: DecodeErrorKind,
},
UnsupportedInstr {
op: &'static str,
},
StackUnderflow {
op: &'static str,
expected: ValType,
},
TypeMismatch {
op: &'static str,
expected: ValType,
found: ValType,
},
InvalidLabel {
label: u32,
},
InvalidFunction {
func: u32,
},
InvalidGlobal {
global: u32,
},
InvalidTable {
table: u32,
},
InvalidType {
type_idx: u32,
},
UnexpectedElse,
MissingFunctionEnd,
}Expand description
Specific lowering failures.
Variants§
Validation(ValidationErrorKind)
Decode
UnsupportedInstr
StackUnderflow
TypeMismatch
InvalidLabel
InvalidFunction
InvalidGlobal
InvalidTable
InvalidType
UnexpectedElse
MissingFunctionEnd
Trait Implementations§
Source§impl Clone for LowerErrorKind
impl Clone for LowerErrorKind
Source§fn clone(&self) -> LowerErrorKind
fn clone(&self) -> LowerErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LowerErrorKind
impl Debug for LowerErrorKind
impl Eq for LowerErrorKind
Source§impl PartialEq for LowerErrorKind
impl PartialEq for LowerErrorKind
impl StructuralPartialEq for LowerErrorKind
Auto Trait Implementations§
impl Freeze for LowerErrorKind
impl RefUnwindSafe for LowerErrorKind
impl Send for LowerErrorKind
impl Sync for LowerErrorKind
impl Unpin for LowerErrorKind
impl UnsafeUnpin for LowerErrorKind
impl UnwindSafe for LowerErrorKind
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