Enum wasmer_compiler::object::ObjectError
source · pub enum ObjectError {
UnsupportedBinaryFormat(String),
UnsupportedArchitecture(String),
UnknownEndianness,
Write(Error),
Serialize(SerializeError),
}
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
UnknownEndianness
The object was provided an unknown endianness
Write(Error)
The object was provided a not-supported architecture
Serialize(SerializeError)
The module provided could not be serialized into bytes
Trait Implementations§
source§impl Debug for ObjectError
impl Debug for ObjectError
source§impl Display for ObjectError
impl Display for ObjectError
source§impl Error for ObjectError
impl Error for ObjectError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ObjectError
impl From<Error> for ObjectError
Auto Trait Implementations§
impl Freeze for ObjectError
impl !RefUnwindSafe for ObjectError
impl Send for ObjectError
impl Sync for ObjectError
impl Unpin for ObjectError
impl !UnwindSafe for ObjectError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<T> Pointee for T
impl<T> Pointee for T
source§impl<T> Upcastable for T
impl<T> Upcastable for T
source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref