Enum wasmer_engine::DeserializeError [−][src]
pub enum DeserializeError {
Io(Error),
Generic(String),
Incompatible(String),
CorruptedBinary(String),
Compiler(CompileError),
}Expand description
The Deserialize error can occur when loading a compiled Module from a binary.
Variants
Io(Error)An IO error
Generic(String)A generic deserialization error
Incompatible(String)Incompatible serialized binary
CorruptedBinary(String)The provided binary is corrupted
Compiler(CompileError)The binary was valid, but we got an error when trying to allocate the required resources.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DeserializeErrorimpl Send for DeserializeErrorimpl Sync for DeserializeErrorimpl Unpin for DeserializeErrorimpl !UnwindSafe for DeserializeErrorBlanket 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