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)
Tuple Fields
0: String
The object was provided a not-supported binary format
UnsupportedArchitecture(String)
Tuple Fields
0: String
The object was provided a not-supported architecture
UnknownEndianness
The object was provided an unknown endianness
Write(ObjectWriteError)
Tuple Fields
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
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer