pub struct MetricDelta { /* private fields */ }Expand description
One atomic batch of additive metric lifecycle changes.
Implementations§
Source§impl MetricDelta
impl MetricDelta
Sourcepub const fn started(self, count: u64) -> Self
pub const fn started(self, count: u64) -> Self
Sets the number of work items entering the active state.
Sourcepub const fn unclassified(self, count: u64) -> Self
pub const fn unclassified(self, count: u64) -> Self
Sets the number of work items completing without classification.
Sourcepub const fn succeeded(self, count: u64) -> Self
pub const fn succeeded(self, count: u64) -> Self
Sets the number of work items completing successfully.
Trait Implementations§
Source§impl Clone for MetricDelta
impl Clone for MetricDelta
Source§fn clone(&self) -> MetricDelta
fn clone(&self) -> MetricDelta
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 MetricDelta
Source§impl Debug for MetricDelta
impl Debug for MetricDelta
Source§impl Default for MetricDelta
impl Default for MetricDelta
Source§fn default() -> MetricDelta
fn default() -> MetricDelta
Returns the “default value” for a type. Read more
impl Eq for MetricDelta
Source§impl PartialEq for MetricDelta
impl PartialEq for MetricDelta
impl StructuralPartialEq for MetricDelta
Auto Trait Implementations§
impl Freeze for MetricDelta
impl RefUnwindSafe for MetricDelta
impl Send for MetricDelta
impl Sync for MetricDelta
impl Unpin for MetricDelta
impl UnsafeUnpin for MetricDelta
impl UnwindSafe for MetricDelta
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