Struct zookeeper_client::PersistentWatcher
source · pub struct PersistentWatcher { /* private fields */ }
Expand description
Watcher for persistent and recursive watch.
Implementations§
source§impl PersistentWatcher
impl PersistentWatcher
sourcepub async fn changed(&mut self) -> WatchedEvent
pub async fn changed(&mut self) -> WatchedEvent
Waits for next event which could be node event or session activities.
Panics
Panic after terminal session event received.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PersistentWatcher
impl Send for PersistentWatcher
impl Sync for PersistentWatcher
impl Unpin for PersistentWatcher
impl !UnwindSafe for PersistentWatcher
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