Enum solana_rbpf::elf::ElfError [−][src]
Error definitions
Variants
FailedToParse(String)
Failed to parse ELF file
Entrypoint out of bounds
Invaid entrypoint
FailedToGetSection(String)
Failed to get section
Unresolved symbol
SectionNotFound(String)
Section no found
RelativeJumpOutOfBounds(usize)
Relative jump out of bounds
RelocationHashCollision(usize)
Relocation hash collision
Incompatible ELF: wrong endianess
Incompatible ELF: wrong ABI
Incompatible ELF: wrong mchine
Incompatible ELF: wrong class
Multiple text sections
.bss section mot supported
AddressOutsideLoadableSection(u64)
Relocation failed, no loadable section contains virtual address
InvalidVirtualAddress(u64)
Relocation failed, invalid referenced virtual address
UnknownRelocation(u32)
Relocation failed, unknown type
Failed to read relocation info
Incompatible ELF: wrong type
UnknownSymbol(usize)
Unknown symbol
Offset or value is out of bounds
Trait Implementations
impl Debug for ElfError
[src]
impl Display for ElfError
[src]
impl Eq for ElfError
[src]
impl Error for ElfError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<E: UserDefinedError> From<ElfError> for EbpfError<E>
[src]
impl From<Error> for ElfError
[src]
fn from(error: GoblinError) -> Self
[src]
impl PartialEq<ElfError> for ElfError
[src]
impl StructuralEq for ElfError
[src]
impl StructuralPartialEq for ElfError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ElfError
impl Send for ElfError
impl Sync for ElfError
impl Unpin for ElfError
impl UnwindSafe for ElfError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,