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 for WatchDescriptor
impl PartialEq for WatchDescriptor
source§impl PartialOrd for WatchDescriptor
impl PartialOrd for WatchDescriptor
impl Copy for WatchDescriptor
impl Eq for WatchDescriptor
impl StructuralPartialEq 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
)