pub struct WatchToken(pub usize);
Expand description
Token provided to FileWatcher
, to associate events with
interested parties.
Note: WatchToken
s are assumed to correspond with an
‘area of interest’; that is, they are used to route delivery
of events.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Clone for WatchToken
impl Clone for WatchToken
Source§fn clone(&self) -> WatchToken
fn clone(&self) -> WatchToken
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 WatchToken
impl Debug for WatchToken
Source§impl PartialEq for WatchToken
impl PartialEq for WatchToken
impl Copy for WatchToken
impl Eq for WatchToken
impl StructuralPartialEq for WatchToken
Auto Trait Implementations§
impl Freeze for WatchToken
impl RefUnwindSafe for WatchToken
impl Send for WatchToken
impl Sync for WatchToken
impl Unpin for WatchToken
impl UnwindSafe for WatchToken
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