pub struct ResolverWatch(/* private fields */);Expand description
A live view of ResolverStats for a resolver in use.
Shared across threads, because a resolver registered for a ring answers that ring’s calls on whatever thread makes them (D-85).
Implementations§
Source§impl ResolverWatch
impl ResolverWatch
Sourcepub fn stats(&self) -> ResolverStats
pub fn stats(&self) -> ResolverStats
The statistics as of now.
Trait Implementations§
Source§impl Clone for ResolverWatch
impl Clone for ResolverWatch
Auto Trait Implementations§
impl Freeze for ResolverWatch
impl RefUnwindSafe for ResolverWatch
impl Send for ResolverWatch
impl Sync for ResolverWatch
impl Unpin for ResolverWatch
impl UnsafeUnpin for ResolverWatch
impl UnwindSafe for ResolverWatch
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