Struct zookeeper_client::PersistentWatcher
source · [−]pub struct PersistentWatcher { /* private fields */ }
Expand description
Watcher for persistent and recursive watch.
Implementations
sourceimpl 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
sourceimpl Debug for PersistentWatcher
impl Debug for PersistentWatcher
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more