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)
Tuple Fields
0: Error
An IO error
Generic(String)
Tuple Fields
0: String
A generic deserialization error
Incompatible(String)
Tuple Fields
0: String
Incompatible serialized binary
CorruptedBinary(String)
Tuple Fields
0: String
The provided binary is corrupted
Compiler(CompileError)
Tuple Fields
0: 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 DeserializeError
impl Send for DeserializeError
impl Sync for DeserializeError
impl Unpin for DeserializeError
impl !UnwindSafe for DeserializeError
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