pub struct TaskSummary {
pub total_tasks: usize,
pub created: usize,
pub running: usize,
pub cancelling: usize,
pub completed: usize,
pub by_region: BTreeMap<RegionId, usize>,
pub stuck_count: usize,
}Expand description
Summary of all tasks in the runtime.
Fields§
§total_tasks: usizeTotal number of tasks.
created: usizeTasks in Created state.
running: usizeTasks in Running state.
cancelling: usizeTasks being cancelled (any cancellation state).
completed: usizeCompleted tasks.
by_region: BTreeMap<RegionId, usize>Tasks grouped by region.
stuck_count: usizeNumber of potentially stuck tasks.
Trait Implementations§
Source§impl Clone for TaskSummary
impl Clone for TaskSummary
Source§fn clone(&self) -> TaskSummary
fn clone(&self) -> TaskSummary
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 TaskSummary
impl Debug for TaskSummary
Source§impl Default for TaskSummary
impl Default for TaskSummary
Source§fn default() -> TaskSummary
fn default() -> TaskSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TaskSummary
impl RefUnwindSafe for TaskSummary
impl Send for TaskSummary
impl Sync for TaskSummary
impl Unpin for TaskSummary
impl UnsafeUnpin for TaskSummary
impl UnwindSafe for TaskSummary
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).