pub enum TranspileError {
ElfParse(String),
UnsupportedInstruction {
offset: usize,
detail: String,
},
UnsupportedRelocation(String),
RegisterMapping(u8),
CodeTooLarge(usize),
InvalidSection(String),
}Variants§
ElfParse(String)
UnsupportedInstruction
UnsupportedRelocation(String)
RegisterMapping(u8)
CodeTooLarge(usize)
InvalidSection(String)
Trait Implementations§
Source§impl Debug for TranspileError
impl Debug for TranspileError
Source§impl Display for TranspileError
impl Display for TranspileError
Source§impl Error for TranspileError
impl Error for TranspileError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for TranspileError
impl RefUnwindSafe for TranspileError
impl Send for TranspileError
impl Sync for TranspileError
impl Unpin for TranspileError
impl UnsafeUnpin for TranspileError
impl UnwindSafe for TranspileError
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§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.