[−][src]Enum wasmer_runtime_core::error::LinkError
This is returned when the runtime is unable to correctly link the module with the provided imports.
Comparing two LinkError
s 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: String
Namespace.
name: String
Name.
expected: MemoryDescriptor
Expected.
found: MemoryDescriptor
Found.
The table descriptor provided does not match the expected descriptor.
Fields of IncorrectTableDescriptor
namespace: String
Namespace.
name: String
Name.
expected: TableDescriptor
Expected.
found: TableDescriptor
Found.
The global descriptor provided does not match the expected descriptor.
Fields of IncorrectGlobalDescriptor
namespace: String
Namespace.
name: String
Name.
expected: GlobalDescriptor
Expected.
found: GlobalDescriptor
Found.
A generic error with a message.
Fields of Generic
message: String
Error message.
Trait Implementations
impl Clone for LinkError
[src]
impl Debug for LinkError
[src]
impl Display for LinkError
[src]
impl Error for LinkError
[src]
fn description(&self) -> &str
1.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 PartialEq<LinkError> for LinkError
[src]
Auto Trait Implementations
impl RefUnwindSafe for LinkError
impl Send for LinkError
impl Sync for LinkError
impl Unpin for LinkError
impl UnwindSafe for LinkError
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> Same<T> for T
[src]
type Output = T
Should always be Self
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>,