#[non_exhaustive]pub enum WatcherErrorKind {
Snapshot,
Branches,
Timeout,
}Expand description
What the last skipped re-query failed on (see WatcherStats::last_error).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Snapshot
The snapshot re-query returned an error (e.g. a transiently held lock).
Branches
The branch-list re-query returned an error.
Timeout
The re-query exceeded Builder::requery_timeout and was killed.
Trait Implementations§
Source§impl Clone for WatcherErrorKind
impl Clone for WatcherErrorKind
Source§fn clone(&self) -> WatcherErrorKind
fn clone(&self) -> WatcherErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WatcherErrorKind
Source§impl Debug for WatcherErrorKind
impl Debug for WatcherErrorKind
impl Eq for WatcherErrorKind
Source§impl PartialEq for WatcherErrorKind
impl PartialEq for WatcherErrorKind
Source§fn eq(&self, other: &WatcherErrorKind) -> bool
fn eq(&self, other: &WatcherErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WatcherErrorKind
Auto Trait Implementations§
impl Freeze for WatcherErrorKind
impl RefUnwindSafe for WatcherErrorKind
impl Send for WatcherErrorKind
impl Sync for WatcherErrorKind
impl Unpin for WatcherErrorKind
impl UnsafeUnpin for WatcherErrorKind
impl UnwindSafe for WatcherErrorKind
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