pub enum ReadVersionError {
OpenFile(OpenError),
ReadFile(ReadError),
}
Expand description
An error encountered while reading the version.
Variants§
Trait Implementations§
Source§impl Debug for ReadVersionError
impl Debug for ReadVersionError
Source§impl Display for ReadVersionError
impl Display for ReadVersionError
Source§impl Error for ReadVersionError
impl Error for ReadVersionError
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()
Auto Trait Implementations§
impl Freeze for ReadVersionError
impl !RefUnwindSafe for ReadVersionError
impl Send for ReadVersionError
impl Sync for ReadVersionError
impl Unpin for ReadVersionError
impl !UnwindSafe for ReadVersionError
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