pub enum WatchError {
Closed,
}Expand description
Error types for watch channel operations
Variants§
Closed
Channel has been closed
Trait Implementations§
Source§impl Clone for WatchError
impl Clone for WatchError
Source§impl Debug for WatchError
impl Debug for WatchError
Source§impl Display for WatchError
impl Display for WatchError
impl Eq for WatchError
Source§impl Error for WatchError
impl Error for WatchError
1.30.0 · 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 PartialEq for WatchError
impl PartialEq for WatchError
impl StructuralPartialEq for WatchError
Auto Trait Implementations§
impl Freeze for WatchError
impl RefUnwindSafe for WatchError
impl Send for WatchError
impl Sync for WatchError
impl Unpin for WatchError
impl UnsafeUnpin for WatchError
impl UnwindSafe for WatchError
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