pub struct RuntimeRegistryWatch { /* private fields */ }Expand description
Bounded watch subscription. Dropping it stops the polling task.
Implementations§
Source§impl RuntimeRegistryWatch
impl RuntimeRegistryWatch
Sourcepub async fn next(&mut self) -> Option<RuntimeRegistryEvent>
pub async fn next(&mut self) -> Option<RuntimeRegistryEvent>
Receive the next registry change.
Trait Implementations§
Source§impl Drop for RuntimeRegistryWatch
impl Drop for RuntimeRegistryWatch
Auto Trait Implementations§
impl Freeze for RuntimeRegistryWatch
impl RefUnwindSafe for RuntimeRegistryWatch
impl Send for RuntimeRegistryWatch
impl Sync for RuntimeRegistryWatch
impl Unpin for RuntimeRegistryWatch
impl UnsafeUnpin for RuntimeRegistryWatch
impl UnwindSafe for RuntimeRegistryWatch
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