Enum wasmer_cache::DeserializeError [−]
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
The binary was valid, but we got an error when trying to allocate the required resources.
Trait Implementations
impl Debug for DeserializeError
impl Debug for DeserializeErrorimpl Display for DeserializeError
impl Display for DeserializeErrorimpl Error for DeserializeError
impl Error for DeserializeErrorimpl From<Error> for DeserializeError
impl From<Error> for DeserializeErrorpub fn from(source: Error) -> DeserializeError
pub fn from(source: Error) -> DeserializeErrorPerforms the conversion.
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
type Output = T
type Output = TShould always be Self