Enum wasmer_engine::ImportError [−][src]
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 ImportErrorimpl Send for ImportErrorimpl Sync for ImportErrorimpl Unpin for ImportErrorimpl UnwindSafe for ImportErrorBlanket 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>::MetadataConverts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more