pub enum ParseUpdateModeError {
OpenFile(OpenError),
ReadFile(ReadError),
Deserialize(String, Error),
UpdateModeNotSupported(String),
}
Expand description
An error encountered while parsing the update-mode file.
Variants§
Trait Implementations§
Source§impl Debug for ParseUpdateModeError
impl Debug for ParseUpdateModeError
Source§impl Display for ParseUpdateModeError
impl Display for ParseUpdateModeError
Source§impl Error for ParseUpdateModeError
impl Error for ParseUpdateModeError
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 ParseUpdateModeError
impl !RefUnwindSafe for ParseUpdateModeError
impl Send for ParseUpdateModeError
impl Sync for ParseUpdateModeError
impl Unpin for ParseUpdateModeError
impl !UnwindSafe for ParseUpdateModeError
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