[−][src]Enum wasmer_runtime::error::LinkError
This is returned when the runtime is unable to correctly link the module with the provided imports.
Comparing two LinkErrors always evaluates to false.
Variants
The type of the provided import does not match the expected type.
Fields of IncorrectImportType
The signature of the provided import does not match the expected signature.
Fields of IncorrectImportSignature
An expected import was not provided.
The memory descriptor provided does not match the expected descriptor.
Fields of IncorrectMemoryDescriptor
namespace: StringNamespace.
name: StringName.
expected: MemoryDescriptorExpected.
found: MemoryDescriptorFound.
The table descriptor provided does not match the expected descriptor.
Fields of IncorrectTableDescriptor
namespace: StringNamespace.
name: StringName.
expected: TableDescriptorExpected.
found: TableDescriptorFound.
The global descriptor provided does not match the expected descriptor.
Fields of IncorrectGlobalDescriptor
namespace: StringNamespace.
name: StringName.
expected: GlobalDescriptorExpected.
found: GlobalDescriptorFound.
A generic error with a message.
Fields of Generic
message: StringError message.
Trait Implementations
impl Error for LinkError[src]
fn description(&self) -> &str1.0.0[src]
fn cause(&self) -> Option<&dyn Error>1.0.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>[src]
impl Clone for LinkError[src]
impl PartialEq<LinkError> for LinkError[src]
fn eq(&self, _other: &LinkError) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl Display for LinkError[src]
impl Debug for LinkError[src]
Auto Trait Implementations
impl Send for LinkError
impl Sync for LinkError
impl Unpin for LinkError
impl UnwindSafe for LinkError
impl RefUnwindSafe for LinkError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,