Struct fuchsia_fs::directory::WatchMessage
source · pub struct WatchMessage {
pub event: WatchEvent,
pub filename: PathBuf,
}
Expand description
A message containing a WatchEvent
and the filename (relative to the directory being watched)
that triggered the event.
Fields§
§event: WatchEvent
The event that occurred.
filename: PathBuf
The filename that triggered the message.
Trait Implementations§
source§impl Debug for WatchMessage
impl Debug for WatchMessage
source§impl PartialEq for WatchMessage
impl PartialEq for WatchMessage
source§fn eq(&self, other: &WatchMessage) -> bool
fn eq(&self, other: &WatchMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WatchMessage
impl StructuralPartialEq for WatchMessage
Auto Trait Implementations§
impl Freeze for WatchMessage
impl RefUnwindSafe for WatchMessage
impl Send for WatchMessage
impl Sync for WatchMessage
impl Unpin for WatchMessage
impl UnwindSafe for WatchMessage
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