pub enum RustepErrorKind {
UnsupportedElfClass(u8),
Parse,
Incomplete(usize),
IncompleteUnknown,
SegmentType(u64),
SectionType(u64),
SegmentFlag(u64),
SectionFlag(u64),
ElfType(u64),
ElfMachine(u64),
NotElf,
}
Variants§
UnsupportedElfClass(u8)
Parse
Incomplete(usize)
IncompleteUnknown
SegmentType(u64)
SectionType(u64)
SegmentFlag(u64)
SectionFlag(u64)
ElfType(u64)
ElfMachine(u64)
NotElf
Trait Implementations§
Source§impl Clone for RustepErrorKind
impl Clone for RustepErrorKind
Source§fn clone(&self) -> RustepErrorKind
fn clone(&self) -> RustepErrorKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RustepErrorKind
impl Debug for RustepErrorKind
Source§impl Display for RustepErrorKind
impl Display for RustepErrorKind
Source§impl Fail for RustepErrorKind
impl Fail for RustepErrorKind
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<RustepErrorKind> for RustepError
impl From<RustepErrorKind> for RustepError
Source§fn from(kind: RustepErrorKind) -> RustepError
fn from(kind: RustepErrorKind) -> RustepError
Converts to this type from the input type.
Source§impl PartialEq for RustepErrorKind
impl PartialEq for RustepErrorKind
impl Copy for RustepErrorKind
impl Eq for RustepErrorKind
impl StructuralPartialEq for RustepErrorKind
Auto Trait Implementations§
impl Freeze for RustepErrorKind
impl RefUnwindSafe for RustepErrorKind
impl Send for RustepErrorKind
impl Sync for RustepErrorKind
impl Unpin for RustepErrorKind
impl UnwindSafe for RustepErrorKind
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