pub struct WatcherSink<U> { /* private fields */ }Expand description
Persistent push target for watch updates.
The channel logic holds one WatcherSink per registered watcher and
calls Self::push to deliver a structured update value. A failed push
(e.g. EPIPE on a gone socket) tells the channel logic the watcher is
dead; the corresponding TransportEvent::WatcherClosed / WatcherDied
still flows back through the ingestion path for cleanup.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<U> !RefUnwindSafe for WatcherSink<U>
impl<U> !Sync for WatcherSink<U>
impl<U> !UnwindSafe for WatcherSink<U>
impl<U> Freeze for WatcherSink<U>
impl<U> Send for WatcherSink<U>
impl<U> Unpin for WatcherSink<U>
impl<U> UnsafeUnpin for WatcherSink<U>
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