pub enum WatchEventError {
TryLockErrorPoisoned,
TryLockErrorWouldBlock,
SendError(SendError<Event>),
}
Variants§
Trait Implementations§
Source§impl Debug for WatchEventError
impl Debug for WatchEventError
Source§impl Display for WatchEventError
impl Display for WatchEventError
Source§impl Error for WatchEventError
impl Error for WatchEventError
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<WatchEventError> for Error
impl From<WatchEventError> for Error
Source§fn from(source: WatchEventError) -> Self
fn from(source: WatchEventError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WatchEventError
impl RefUnwindSafe for WatchEventError
impl Send for WatchEventError
impl Sync for WatchEventError
impl Unpin for WatchEventError
impl UnwindSafe for WatchEventError
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