Enum wasmer_object::ObjectError [−][src]
pub enum ObjectError { UnsupportedBinaryFormat(String), UnsupportedArchitecture(String), UnknownEndianness, Write(ObjectWriteError), }
Expand description
The Object error can occur when creating an object file
from a Compilation
.
Variants
UnsupportedBinaryFormat(String)
The object was provided a not-supported binary format
UnsupportedArchitecture(String)
The object was provided a not-supported architecture
The object was provided an unknown endianness
Write(ObjectWriteError)
The object was provided a not-supported architecture
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ObjectError
impl Send for ObjectError
impl Sync for ObjectError
impl Unpin for ObjectError
impl UnwindSafe for ObjectError
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