Struct inotify::WatchDescriptor
source · [−]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
sourceimpl Clone for WatchDescriptor
impl Clone for WatchDescriptor
sourcefn clone(&self) -> WatchDescriptor
fn clone(&self) -> WatchDescriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WatchDescriptor
impl Debug for WatchDescriptor
sourceimpl Hash for WatchDescriptor
impl Hash for WatchDescriptor
sourceimpl PartialEq<WatchDescriptor> for WatchDescriptor
impl PartialEq<WatchDescriptor> for WatchDescriptor
impl Eq for WatchDescriptor
Auto Trait Implementations
impl RefUnwindSafe for WatchDescriptor
impl Send for WatchDescriptor
impl Sync for WatchDescriptor
impl Unpin for WatchDescriptor
impl UnwindSafe for WatchDescriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more