[−][src]Enum wasmer_interface_types_fl::errors::InstructionErrorKind
The kind of instruction errors.
Variants
The instruction needs to read an invocation input at index index
, but it's missing.
Fields of InvocationInputIsMissing
index: u32
The invocation input index.
ToNative(WasmValueNativeCastError)
Failed to cast from a WIT value to a native value.
Failed to cast from from
to to
.
Fields of LoweringLifting
Read a value from the stack, but it doesn't have the expected type.
Fields of InvalidValueOnTheStack
Need to read some values from the stack, but it doesn't contain enough data.
Fields of StackIsTooSmall
needed: usize
The number of values that were needed.
The local or import function doesn't exist.
Fields of LocalOrImportIsMissing
function_index: u32
The local or import function index.
Values given to a local or import function doesn't match the function signature.
Fields of LocalOrImportSignatureMismatch
function_index: u32
The local or import function index.
expected: (Vec<InterfaceType>, Vec<InterfaceType>)
The expected signature.
received: (Vec<InterfaceType>, Vec<InterfaceType>)
The received signature.
Failed to call a local or import function.
Fields of LocalOrImportCall
function_index: u32
The local or import function index that has been called.
The memory doesn't exist.
Fields of MemoryIsMissing
memory_index: u32
The memory indeX.
Tried to read out of bounds of the memory.
String(FromUtf8Error)
The string contains invalid UTF-8 encoding.
Out of range integral type conversion attempted.
Fields of NegativeValue
subject: &'static str
The variable name that triggered the error.
The type doesn't exist.
Fields of TypeIsMissing
type_index: u32
The type index.
The searched by name type doesn't exist.
Fields of RecordTypeByNameIsMissing
type_name: String
The record type name.
CorruptedRecord(String)
Corrupted record's been popped from the stack.
Read a type that has an unexpected type.
Fields of InvalidTypeKind
SerdeError(String)
Errors related to Serialization/deserialization of record.
Trait Implementations
impl Debug for InstructionErrorKind
[src]
impl Display for InstructionErrorKind
[src]
impl Error for InstructionErrorKind
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<(TryFromIntError, &'static str)> for InstructionErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstructionErrorKind
impl Send for InstructionErrorKind
impl Sync for InstructionErrorKind
impl Unpin for InstructionErrorKind
impl UnwindSafe for InstructionErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,