[−][src]Enum holochain_wasmer_host::prelude::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]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<LinkError> for LinkError
[src]
Auto Trait Implementations
impl RefUnwindSafe for LinkError
[src]
impl Send for LinkError
[src]
impl Sync for LinkError
[src]
impl Unpin for LinkError
[src]
impl UnwindSafe for LinkError
[src]
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,
pub 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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,