pub enum PeVersionError {
Io(Error),
Parse(Error),
Resources(FindError),
NotFound,
}Available on crate feature
pe only.Expand description
Error type for PE version extraction.
Variants§
Trait Implementations§
Source§impl Debug for PeVersionError
impl Debug for PeVersionError
Source§impl Display for PeVersionError
impl Display for PeVersionError
Source§impl Error for PeVersionError
impl Error for PeVersionError
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<Error> for PeVersionError
impl From<Error> for PeVersionError
Source§impl From<Error> for PeVersionError
impl From<Error> for PeVersionError
Auto Trait Implementations§
impl Freeze for PeVersionError
impl !RefUnwindSafe for PeVersionError
impl Send for PeVersionError
impl Sync for PeVersionError
impl Unpin for PeVersionError
impl UnsafeUnpin for PeVersionError
impl !UnwindSafe for PeVersionError
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