Enum wasmer_engine_near::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
Tuple Fields of Io
0: Error
Generic(String)
A generic deserialization error
Tuple Fields of Generic
0: String
Incompatible(String)
Incompatible serialized binary
Tuple Fields of Incompatible
0: String
CorruptedBinary(String)
The provided binary is corrupted
Tuple Fields of CorruptedBinary
0: String
Compiler(CompileError)
The binary was valid, but we got an error when trying to allocate the required resources.
Tuple Fields of Compiler
0: CompileError
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