pub struct WatcherId(/* private fields */);Expand description
An opaque long-lived handle identifying one watch subscriber.
Allocated by the backend’s owning thread; never interpreted by the channel logic. Backends should hand out monotonically increasing values from a per-loop counter.
Implementations§
Trait Implementations§
impl Copy for WatcherId
impl Eq for WatcherId
impl StructuralPartialEq for WatcherId
Auto Trait Implementations§
impl Freeze for WatcherId
impl RefUnwindSafe for WatcherId
impl Send for WatcherId
impl Sync for WatcherId
impl Unpin for WatcherId
impl UnsafeUnpin for WatcherId
impl UnwindSafe for WatcherId
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