pub enum ObjectErrorKind {
UnsupportedObject,
BadObject,
UnsupportedSymbolTable,
}
Expand description
The kind of an ObjectError
.
Variants
UnsupportedObject
The Object
file format is not supported.
BadObject
The Object
file contains invalid data.
UnsupportedSymbolTable
Reading symbol tables is not supported for this Object
file format.
Trait Implementations
sourceimpl Clone for ObjectErrorKind
impl Clone for ObjectErrorKind
sourcefn clone(&self) -> ObjectErrorKind
fn clone(&self) -> ObjectErrorKind
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 moresourceimpl Debug for ObjectErrorKind
impl Debug for ObjectErrorKind
sourceimpl Display for ObjectErrorKind
impl Display for ObjectErrorKind
sourceimpl Fail for ObjectErrorKind
impl Fail for ObjectErrorKind
sourcefn 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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<ObjectErrorKind> for ObjectError
impl From<ObjectErrorKind> for ObjectError
sourcefn from(kind: ObjectErrorKind) -> ObjectError
fn from(kind: ObjectErrorKind) -> ObjectError
Converts to this type from the input type.
sourceimpl PartialEq<ObjectErrorKind> for ObjectErrorKind
impl PartialEq<ObjectErrorKind> for ObjectErrorKind
sourcefn eq(&self, other: &ObjectErrorKind) -> bool
fn eq(&self, other: &ObjectErrorKind) -> bool
impl Copy for ObjectErrorKind
impl Eq for ObjectErrorKind
impl StructuralEq for ObjectErrorKind
impl StructuralPartialEq for ObjectErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ObjectErrorKind
impl Send for ObjectErrorKind
impl Sync for ObjectErrorKind
impl Unpin for ObjectErrorKind
impl UnwindSafe for ObjectErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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