Enum elfloader::ElfLoaderErr
source · [−]pub enum ElfLoaderErr {
ElfParser {
source: &'static str,
},
OutOfMemory,
SymbolTableNotFound,
UnsupportedElfFormat,
UnsupportedElfVersion,
UnsupportedEndianness,
UnsupportedAbi,
UnsupportedElfType,
UnsupportedSectionData,
UnsupportedArchitecture,
UnsupportedRelocationEntry,
}
Variants
ElfParser
Fields
source: &'static str
OutOfMemory
SymbolTableNotFound
UnsupportedElfFormat
UnsupportedElfVersion
UnsupportedEndianness
UnsupportedAbi
UnsupportedElfType
UnsupportedSectionData
UnsupportedArchitecture
UnsupportedRelocationEntry
Trait Implementations
sourceimpl Clone for ElfLoaderErr
impl Clone for ElfLoaderErr
sourcefn clone(&self) -> ElfLoaderErr
fn clone(&self) -> ElfLoaderErr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ElfLoaderErr
impl Debug for ElfLoaderErr
sourceimpl Display for ElfLoaderErr
impl Display for ElfLoaderErr
sourceimpl From<&'static str> for ElfLoaderErr
impl From<&'static str> for ElfLoaderErr
sourceimpl PartialEq<ElfLoaderErr> for ElfLoaderErr
impl PartialEq<ElfLoaderErr> for ElfLoaderErr
sourcefn eq(&self, other: &ElfLoaderErr) -> bool
fn eq(&self, other: &ElfLoaderErr) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ElfLoaderErr) -> bool
fn ne(&self, other: &ElfLoaderErr) -> bool
This method tests for !=
.
impl StructuralPartialEq for ElfLoaderErr
Auto Trait Implementations
impl RefUnwindSafe for ElfLoaderErr
impl Send for ElfLoaderErr
impl Sync for ElfLoaderErr
impl Unpin for ElfLoaderErr
impl UnwindSafe for ElfLoaderErr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more