pub struct PolledChange {
pub path: PathBuf,
pub kind: PolledChangeKind,
}Expand description
A single change reported by FilesystemPoller::poll / FilesystemPoller::force_poll.
Fields§
§path: PathBufThe path whose state changed.
kind: PolledChangeKindWhat kind of change was observed.
Trait Implementations§
Source§impl Clone for PolledChange
impl Clone for PolledChange
Source§fn clone(&self) -> PolledChange
fn clone(&self) -> PolledChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PolledChange
impl RefUnwindSafe for PolledChange
impl Send for PolledChange
impl Sync for PolledChange
impl Unpin for PolledChange
impl UnsafeUnpin for PolledChange
impl UnwindSafe for PolledChange
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