pub struct WatchedPath { /* private fields */ }Expand description
A path to watch.
Can be a recursive or non-recursive watch.
Implementations§
Trait Implementations§
Source§impl AsRef<Path> for WatchedPath
impl AsRef<Path> for WatchedPath
Source§impl Clone for WatchedPath
impl Clone for WatchedPath
Source§fn clone(&self) -> WatchedPath
fn clone(&self) -> WatchedPath
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WatchedPath
impl Debug for WatchedPath
Source§impl Default for WatchedPath
impl Default for WatchedPath
Source§fn default() -> WatchedPath
fn default() -> WatchedPath
Returns the “default value” for a type. Read more
Source§impl From<&Path> for WatchedPath
impl From<&Path> for WatchedPath
Source§impl From<&WatchedPath> for PathBuf
impl From<&WatchedPath> for PathBuf
Source§fn from(path: &WatchedPath) -> Self
fn from(path: &WatchedPath) -> Self
Converts to this type from the input type.
Source§impl From<&str> for WatchedPath
impl From<&str> for WatchedPath
Source§impl From<PathBuf> for WatchedPath
impl From<PathBuf> for WatchedPath
Source§impl From<String> for WatchedPath
impl From<String> for WatchedPath
Source§impl From<WatchedPath> for PathBuf
impl From<WatchedPath> for PathBuf
Source§fn from(path: WatchedPath) -> Self
fn from(path: WatchedPath) -> Self
Converts to this type from the input type.
Source§impl Hash for WatchedPath
impl Hash for WatchedPath
Source§impl Ord for WatchedPath
impl Ord for WatchedPath
Source§fn cmp(&self, other: &WatchedPath) -> Ordering
fn cmp(&self, other: &WatchedPath) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WatchedPath
impl PartialEq for WatchedPath
Source§impl PartialOrd for WatchedPath
impl PartialOrd for WatchedPath
impl Eq for WatchedPath
impl StructuralPartialEq for WatchedPath
Auto Trait Implementations§
impl Freeze for WatchedPath
impl RefUnwindSafe for WatchedPath
impl Send for WatchedPath
impl Sync for WatchedPath
impl Unpin for WatchedPath
impl UnwindSafe for WatchedPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.