pub enum Error {
Show 29 variants
InvalidHeader,
Truncated,
WrongClass,
WrongEndian,
WrongMachine,
NotPositionIndependent,
Interpreter,
ThreadLocalStorage,
InvalidAlignment,
IncompatibleFlags(u32),
InvalidSegment,
OverlappingSegments,
InvalidEntry,
InvalidAbiNote,
MissingAbiNote,
IncompatibleXilaVersion {
declared: Version,
running: Version,
},
InvalidDynamic,
Constructors,
DynamicDependency,
UnsupportedDynamicTag(usize),
InvalidRelocationTable,
InvalidRelocationTarget,
InvalidRelocationAddend,
UnsupportedRelocation(u32),
UnsupportedSplitAddressSpace,
SymbolRelocation,
ImageTooLarge,
AllocationFailed,
FinalizationFailed,
}Variants§
InvalidHeader
Truncated
WrongClass
WrongEndian
WrongMachine
NotPositionIndependent
Interpreter
ThreadLocalStorage
InvalidAlignment
IncompatibleFlags(u32)
e_flags the target cannot run: Arm EABI version or float ABI, RISC-V float ABI or RVC.
InvalidSegment
OverlappingSegments
InvalidEntry
InvalidAbiNote
MissingAbiNote
IncompatibleXilaVersion
The image was built for a Xila version that the running one does not run
(see [xila_version::compatible]).
InvalidDynamic
Constructors
DT_INIT, DT_FINI or an init, fini or preinit array: the loader runs no constructors or destructors.
DynamicDependency
UnsupportedDynamicTag(usize)
InvalidRelocationTable
InvalidRelocationTarget
InvalidRelocationAddend
UnsupportedRelocation(u32)
UnsupportedSplitAddressSpace
SymbolRelocation
ImageTooLarge
AllocationFailed
FinalizationFailed
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
Blanket Implementations§
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