pub enum DynamicError {
TypeCast(DynTypeError),
DependentSection(DynamicSectionType, DynamicSectionType),
RequiredSection(DynamicSectionType),
ProgramHeader,
}Expand description
Errors related to dynamic libraries
Variants§
TypeCast(DynTypeError)
DependentSection(DynamicSectionType, DynamicSectionType)
RequiredSection(DynamicSectionType)
ProgramHeader
Trait Implementations§
Source§impl Debug for DynamicError
impl Debug for DynamicError
Source§impl Display for DynamicError
impl Display for DynamicError
Source§impl Error for DynamicError
impl Error for DynamicError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DynTypeError> for DynamicError
impl From<DynTypeError> for DynamicError
Source§fn from(value: DynTypeError) -> Self
fn from(value: DynTypeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DynamicError
impl RefUnwindSafe for DynamicError
impl Send for DynamicError
impl Sync for DynamicError
impl Unpin for DynamicError
impl UnsafeUnpin for DynamicError
impl UnwindSafe for DynamicError
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