pub struct ExecutorStatsSnapshot {
pub dispatched: u64,
pub failed: u64,
pub deferred: u64,
pub gated: u64,
pub dispatch_retries: u64,
pub cluster_backpressure_asserts: u64,
pub cluster_backpressure_releases: u64,
pub chain_append_failures: u64,
}Expand description
Plain-value stats snapshot (no atomics; safe to copy + serialize).
Fields§
§dispatched: u64Total actions admitted + successfully dispatched.
failed: u64Total actions admitted but failed in dispatch.
deferred: u64Total AdmissionResult::Defer re-queues.
gated: u64Total AdmissionResult::Gate drops.
dispatch_retries: u64Total dispatch errors retried via retry_after.
cluster_backpressure_asserts: u64Number of cluster-backpressure assert edges surfaced.
cluster_backpressure_releases: u64Number of cluster-backpressure release edges surfaced.
chain_append_failures: u64Times the chain appender returned Err for an action
the executor was attempting to record (dispatched /
failed / gated / deferred). Non-zero means the chain is
missing records — the in-memory ring and dispatcher state
remain consistent, but downstream chain consumers will
not see those entries.
Trait Implementations§
Source§impl Clone for ExecutorStatsSnapshot
impl Clone for ExecutorStatsSnapshot
Source§fn clone(&self) -> ExecutorStatsSnapshot
fn clone(&self) -> ExecutorStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExecutorStatsSnapshot
Source§impl Debug for ExecutorStatsSnapshot
impl Debug for ExecutorStatsSnapshot
Source§impl Default for ExecutorStatsSnapshot
impl Default for ExecutorStatsSnapshot
Source§fn default() -> ExecutorStatsSnapshot
fn default() -> ExecutorStatsSnapshot
Returns the “default value” for a type. Read more
impl Eq for ExecutorStatsSnapshot
Source§impl PartialEq for ExecutorStatsSnapshot
impl PartialEq for ExecutorStatsSnapshot
Source§fn eq(&self, other: &ExecutorStatsSnapshot) -> bool
fn eq(&self, other: &ExecutorStatsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutorStatsSnapshot
Auto Trait Implementations§
impl Freeze for ExecutorStatsSnapshot
impl RefUnwindSafe for ExecutorStatsSnapshot
impl Send for ExecutorStatsSnapshot
impl Sync for ExecutorStatsSnapshot
impl Unpin for ExecutorStatsSnapshot
impl UnsafeUnpin for ExecutorStatsSnapshot
impl UnwindSafe for ExecutorStatsSnapshot
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
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.