pub enum ObservationError {
Missing(PathBuf),
Changed(PathBuf),
File(FileError),
}Expand description
A missing or changed original is distinct from an operating-system failure.
Variants§
Missing(PathBuf)
The original no longer exists.
Changed(PathBuf)
The file changed during or after the read.
File(FileError)
The filesystem refused an operation.
Trait Implementations§
Source§impl Debug for ObservationError
impl Debug for ObservationError
Source§impl Display for ObservationError
impl Display for ObservationError
Source§impl Error for ObservationError
impl Error for ObservationError
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 ObservationError
impl !RefUnwindSafe for ObservationError
impl Send for ObservationError
impl Sync for ObservationError
impl Unpin for ObservationError
impl UnsafeUnpin for ObservationError
impl !UnwindSafe for ObservationError
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