Struct InvokeMetrics
pub struct InvokeMetrics {
pub endpoints: Vec<EndpointMetrics>,
pub due_shards: u32,
pub invoking_shards: u32,
pub backoff_shards: u32,
pub handbacks: u64,
pub crashes: u64,
pub no_progress: u64,
pub parked_calls: usize,
}Expand description
The invoker’s counters (Server::invocation_metrics).
Fields§
§endpoints: Vec<EndpointMetrics>§due_shards: u32Shards due now and waiting for an invocation slot or backoff.
invoking_shards: u32Shards with an invocation in flight.
backoff_shards: u32Shards in backoff after failures.
handbacks: u64Shards handed back with work left when their budget ended, and leases that ended without a report (crashes, revocations).
crashes: u64§no_progress: u64Invocations that reached their budget without finishing a step.
parked_calls: usizeClient calls waiting at the server for a holder.
Trait Implementations§
§impl Clone for InvokeMetrics
impl Clone for InvokeMetrics
§fn clone(&self) -> InvokeMetrics
fn clone(&self) -> InvokeMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for InvokeMetrics
impl Debug for InvokeMetrics
§impl Default for InvokeMetrics
impl Default for InvokeMetrics
§fn default() -> InvokeMetrics
fn default() -> InvokeMetrics
Returns the “default value” for a type. Read more
§impl Serialize for InvokeMetrics
impl Serialize for InvokeMetrics
Auto Trait Implementations§
impl Freeze for InvokeMetrics
impl RefUnwindSafe for InvokeMetrics
impl Send for InvokeMetrics
impl Sync for InvokeMetrics
impl Unpin for InvokeMetrics
impl UnsafeUnpin for InvokeMetrics
impl UnwindSafe for InvokeMetrics
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