#[non_exhaustive]pub struct Counters {Show 17 fields
pub epochs_activated: u64,
pub installs: u64,
pub retires: u64,
pub activate_fallback: u64,
pub activate_before_fence: u64,
pub recoveries: BTreeMap<&'static str, u64>,
pub resets: u64,
pub ignored_stale: u64,
pub slot_reused_early: u64,
pub unencrypted_track_refused: u64,
pub sender_index_stuck: u64,
pub releases_sent: u64,
pub sdk_missing_key: u64,
pub commit_refused: u64,
pub reports_sent: u64,
pub reports_limited: u64,
pub last_commit_ms: u64,
}Expand description
Counts and ids only, for the app’s metrics.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.epochs_activated: u64Epochs activated.
installs: u64Install events emitted.
retires: u64Retire events emitted.
activate_fallback: u64Local activations by the fallback timer.
activate_before_fence: u64Activations whose fence had not returned yet.
recoveries: BTreeMap<&'static str, u64>Re-adds by reason.
resets: u64Group resets seen.
ignored_stale: u64Messages for another group or an old epoch, ignored.
slot_reused_early: u64Installs into a slot whose previous key was active less than retire_after ago.
unencrypted_track_refused: u64Unencrypted publications refused by the bridge.
sender_index_stuck: u64Sender self-checks that ended stuck.
releases_sent: u64Recorder releases sent.
sdk_missing_key: u64SdkMissingKey inputs.
commit_refused: u64commit 409/422 answers (superseded, stale, not committer, no transition, invalid).
reports_sent: u64reports sent.
reports_limited: u64reports suppressed by the client limits.
last_commit_ms: u64Last commit processing time (ms of the caller’s clock; 0 in tests with a fixed clock).
Implementations§
Trait Implementations§
impl Eq for Counters
impl StructuralPartialEq for Counters
Auto Trait Implementations§
impl Forget for Counters
impl Freeze for Counters
impl Move for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnsafeUnpin for Counters
impl UnwindSafe for Counters
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
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more