pub struct TaskMetrics {
pub total_executed: u64,
pub total_succeeded: u64,
pub total_failed: u64,
pub total_retried: u64,
pub total_timed_out: u64,
pub active_tasks: u64,
}
Expand description
Task execution metrics
Fields§
§total_executed: u64
§total_succeeded: u64
§total_failed: u64
§total_retried: u64
§total_timed_out: u64
§active_tasks: u64
Trait Implementations§
Source§impl Clone for TaskMetrics
impl Clone for TaskMetrics
Source§fn clone(&self) -> TaskMetrics
fn clone(&self) -> TaskMetrics
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 moreSource§impl Debug for TaskMetrics
impl Debug for TaskMetrics
Source§impl<'de> Deserialize<'de> for TaskMetrics
impl<'de> Deserialize<'de> for TaskMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskMetrics
impl RefUnwindSafe for TaskMetrics
impl Send for TaskMetrics
impl Sync for TaskMetrics
impl Unpin for TaskMetrics
impl UnwindSafe for TaskMetrics
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