pub struct BridgeCounters {
pub lifecycle: LinkLifeCounters,
pub crossed: u64,
pub dial_refused: u64,
pub refused: u64,
pub refused_subjects: BTreeMap<String, u64>,
pub too_large: u64,
pub resumed_from: BTreeMap<String, u64>,
pub last_refusal: Option<String>,
pub error: Option<String>,
}Expand description
Observations for one link; positions belong to its local subscriptions.
Fields§
§lifecycle: LinkLifeCountersOpens and ends observed by the keyed carrier.
crossed: u64Acknowledged crossings.
dial_refused: u64Configured dial attempts for which every carrier refused.
refused: u64Crossings refused at either end and opens refused by the peer.
refused_subjects: BTreeMap<String, u64>Refused crossings counted for each subject, logged at its first refusal.
too_large: u64Envelopes exceeding one Noise frame.
resumed_from: BTreeMap<String, u64>The startup durable position of each exported subject.
last_refusal: Option<String>The last named refusal, when one was observed.
error: Option<String>A forwarding failure that stopped this link.
Trait Implementations§
Source§impl Clone for BridgeCounters
impl Clone for BridgeCounters
Source§impl Debug for BridgeCounters
impl Debug for BridgeCounters
Source§impl Default for BridgeCounters
impl Default for BridgeCounters
impl Eq for BridgeCounters
Source§impl PartialEq for BridgeCounters
impl PartialEq for BridgeCounters
Source§impl Serialize for BridgeCounters
impl Serialize for BridgeCounters
impl StructuralPartialEq for BridgeCounters
Auto Trait Implementations§
impl Freeze for BridgeCounters
impl RefUnwindSafe for BridgeCounters
impl Send for BridgeCounters
impl Sync for BridgeCounters
impl Unpin for BridgeCounters
impl UnsafeUnpin for BridgeCounters
impl UnwindSafe for BridgeCounters
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.