Struct nix::sys::inotify::WatchDescriptor
source · pub struct WatchDescriptor { /* private fields */ }
Expand description
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§
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§fn cmp(&self, other: &WatchDescriptor) -> Ordering
fn cmp(&self, other: &WatchDescriptor) -> 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<WatchDescriptor> for WatchDescriptor
impl PartialEq<WatchDescriptor> for WatchDescriptor
source§fn eq(&self, other: &WatchDescriptor) -> bool
fn eq(&self, other: &WatchDescriptor) -> bool
source§impl PartialOrd<WatchDescriptor> for WatchDescriptor
impl PartialOrd<WatchDescriptor> for WatchDescriptor
source§fn partial_cmp(&self, other: &WatchDescriptor) -> Option<Ordering>
fn partial_cmp(&self, other: &WatchDescriptor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more