pub struct PeOffsetError;
Expand description
An offset within the PE is invalid.
This can occur if an offset is larger than the PE itself, or if arithmetic overflow occurs.
Trait Implementations§
Source§impl Clone for PeOffsetError
impl Clone for PeOffsetError
Source§fn clone(&self) -> PeOffsetError
fn clone(&self) -> PeOffsetError
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 PeOffsetError
impl Debug for PeOffsetError
Source§impl Display for PeOffsetError
impl Display for PeOffsetError
Source§impl Error for PeOffsetError
Available on crate feature std
only.
impl Error for PeOffsetError
Available on crate feature
std
only.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 PartialEq for PeOffsetError
impl PartialEq for PeOffsetError
impl Copy for PeOffsetError
impl Eq for PeOffsetError
impl StructuralPartialEq for PeOffsetError
Auto Trait Implementations§
impl Freeze for PeOffsetError
impl RefUnwindSafe for PeOffsetError
impl Send for PeOffsetError
impl Sync for PeOffsetError
impl Unpin for PeOffsetError
impl UnwindSafe for PeOffsetError
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