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
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