Enum wasmer_engine::ImportError
source · [−]pub enum ImportError {
IncompatibleType(ExternType, ExternType),
UnknownImport(ExternType),
}
Expand description
An ImportError.
Note: this error is not standard to WebAssembly, but it’s useful to determine the import issue on the API side.
Variants
IncompatibleType(ExternType, ExternType)
Incompatible Import Type. This error occurs when the import types mismatch.
UnknownImport(ExternType)
Unknown Import. This error occurs when an import was expected but not provided.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImportError
impl Send for ImportError
impl Sync for ImportError
impl Unpin for ImportError
impl UnwindSafe for ImportError
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer