Struct nix::sys::inotify::WatchDescriptor
pub struct WatchDescriptor { /* fields hidden */ }Documentation
This object is returned when you create a new watch on an inotify instance. It is then returned as part of an event once triggered. It allows you to know which watch triggered which event.
Trait Implementations
impl Clone for WatchDescriptor
fn clone(&Self) -> WatchDescriptorimpl Copy for WatchDescriptorimpl Debug for WatchDescriptor
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Eq for WatchDescriptorimpl Hash for WatchDescriptor
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for WatchDescriptor
fn cmp(&Self, other: &WatchDescriptor) -> $crate::cmp::Orderingimpl PartialEq<WatchDescriptor> for WatchDescriptor
fn eq(&Self, other: &WatchDescriptor) -> boolfn ne(&Self, other: &WatchDescriptor) -> boolimpl PartialOrd<WatchDescriptor> for WatchDescriptor
fn partial_cmp(&Self, other: &WatchDescriptor) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for WatchDescriptorimpl StructuralPartialEq for WatchDescriptorAuto Trait Implementations
impl RefUnwindSafe for WatchDescriptorimpl Send for WatchDescriptorimpl Sync for WatchDescriptorimpl Unpin for WatchDescriptorimpl UnwindSafe for WatchDescriptorBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T