Struct fuchsia_fs::directory::WatchEvent
source · #[repr(C)]pub struct WatchEvent(/* private fields */);
Expand description
Describes the type of event that occurred in the directory being watched.
Implementations§
source§impl WatchEvent
impl WatchEvent
sourcepub const DELETED: WatchEvent = _
pub const DELETED: WatchEvent = _
The directory being watched has been deleted. The name returned for this event
will be .
(dot), as it is referring to the directory itself.
sourcepub const ADD_FILE: WatchEvent = _
pub const ADD_FILE: WatchEvent = _
A file was added.
sourcepub const REMOVE_FILE: WatchEvent = _
pub const REMOVE_FILE: WatchEvent = _
A file was removed.
sourcepub const EXISTING: WatchEvent = _
pub const EXISTING: WatchEvent = _
A file existed at the time the Watcher was created.
sourcepub const IDLE: WatchEvent = _
pub const IDLE: WatchEvent = _
All existing files have been enumerated.
Trait Implementations§
source§impl Clone for WatchEvent
impl Clone for WatchEvent
source§fn clone(&self) -> WatchEvent
fn clone(&self) -> WatchEvent
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 WatchEvent
impl Debug for WatchEvent
source§impl PartialEq for WatchEvent
impl PartialEq for WatchEvent
source§fn eq(&self, other: &WatchEvent) -> bool
fn eq(&self, other: &WatchEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WatchEvent
impl Eq for WatchEvent
impl StructuralPartialEq for WatchEvent
Auto Trait Implementations§
impl Freeze for WatchEvent
impl RefUnwindSafe for WatchEvent
impl Send for WatchEvent
impl Sync for WatchEvent
impl Unpin for WatchEvent
impl UnwindSafe for WatchEvent
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)