Enum kvarn_search::WatchError
source · pub enum WatchError {
HostNotFound,
FsDisabled,
}
Variants§
HostNotFound
Can occur if the host name isn’t part of the HostCollection
because the host doesn’t
exist, or because it’s inside another collection.
FsDisabled
The file system feature was disabled for this host.
Trait Implementations§
source§impl Debug for WatchError
impl Debug for WatchError
source§impl PartialEq for WatchError
impl PartialEq for WatchError
source§fn eq(&self, other: &WatchError) -> bool
fn eq(&self, other: &WatchError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WatchError
impl StructuralPartialEq for WatchError
Auto Trait Implementations§
impl RefUnwindSafe for WatchError
impl Send for WatchError
impl Sync for WatchError
impl Unpin 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.