pub struct WatchDescriptor { /* private fields */ }
Expand description
Represents a watch on an inode
Can be obtained from Inotify::add_watch
or from an Event
. A watch
descriptor can be used to get inotify to stop watching an inode by passing
it to Inotify::rm_watch
.
Trait Implementations§
source§impl Clone for WatchDescriptor
impl Clone for WatchDescriptor
source§fn clone(&self) -> WatchDescriptor
fn clone(&self) -> WatchDescriptor
Returns a copy 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 WatchDescriptor
impl Debug for WatchDescriptor
source§impl Hash for WatchDescriptor
impl Hash for WatchDescriptor
source§impl Ord for WatchDescriptor
impl Ord for WatchDescriptor
source§impl PartialEq for WatchDescriptor
impl PartialEq for WatchDescriptor
source§impl PartialOrd for WatchDescriptor
impl PartialOrd for WatchDescriptor
impl Eq for WatchDescriptor
Auto Trait Implementations§
impl Freeze for WatchDescriptor
impl RefUnwindSafe for WatchDescriptor
impl Send for WatchDescriptor
impl Sync for WatchDescriptor
impl Unpin for WatchDescriptor
impl UnwindSafe for WatchDescriptor
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)