pub struct BridgeRegistry(/* private fields */);Expand description
Live per-link observations shared with the health endpoint.
Implementations§
Source§impl BridgeRegistry
impl BridgeRegistry
Sourcepub fn snapshot(&self) -> BTreeMap<String, BridgeCounters>
pub fn snapshot(&self) -> BTreeMap<String, BridgeCounters>
Reads all configured bridge counters without scheduling or touching storage.
Trait Implementations§
Source§impl Clone for BridgeRegistry
impl Clone for BridgeRegistry
Source§impl Debug for BridgeRegistry
impl Debug for BridgeRegistry
Auto Trait Implementations§
impl Freeze for BridgeRegistry
impl RefUnwindSafe for BridgeRegistry
impl Send for BridgeRegistry
impl Sync for BridgeRegistry
impl Unpin for BridgeRegistry
impl UnsafeUnpin for BridgeRegistry
impl UnwindSafe for BridgeRegistry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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