pub struct RuntimeTaskSectionV2 {
pub scope: RuntimeDiagnosticsScope,
pub task_group_count: usize,
pub task_count: usize,
pub local_task_count: usize,
pub long_running: usize,
pub max_elapsed_millis: u64,
pub task_kinds: Vec<RuntimeTaskKindSummaryV1>,
pub truncated: bool,
}Expand description
Bounded task counts for one group population.
Fields§
§scope: RuntimeDiagnosticsScopeThe population these counts cover.
task_group_count: usizeNumber of task groups represented.
task_count: usizeNumber of active tasks represented.
local_task_count: usizeNumber of active tasks in the calling group alone.
The aggregate task_count is scoped to the subtree, so this value lets a
reader separate the calling group’s own work from its descendants without
requesting a detail list.
long_running: usizeNumber of active tasks exceeding the long-running threshold.
max_elapsed_millis: u64Maximum elapsed time among active tasks, in milliseconds.
task_kinds: Vec<RuntimeTaskKindSummaryV1>Bounded aggregate summaries grouped by task kind.
truncated: boolWhether summaries were omitted by configured bounds.
Trait Implementations§
Source§impl Clone for RuntimeTaskSectionV2
impl Clone for RuntimeTaskSectionV2
Source§impl Debug for RuntimeTaskSectionV2
impl Debug for RuntimeTaskSectionV2
Source§impl<'de> Deserialize<'de> for RuntimeTaskSectionV2
impl<'de> Deserialize<'de> for RuntimeTaskSectionV2
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
impl Eq for RuntimeTaskSectionV2
Source§impl PartialEq for RuntimeTaskSectionV2
impl PartialEq for RuntimeTaskSectionV2
Source§impl Serialize for RuntimeTaskSectionV2
impl Serialize for RuntimeTaskSectionV2
impl StructuralPartialEq for RuntimeTaskSectionV2
Auto Trait Implementations§
impl Freeze for RuntimeTaskSectionV2
impl RefUnwindSafe for RuntimeTaskSectionV2
impl Send for RuntimeTaskSectionV2
impl Sync for RuntimeTaskSectionV2
impl Unpin for RuntimeTaskSectionV2
impl UnsafeUnpin for RuntimeTaskSectionV2
impl UnwindSafe for RuntimeTaskSectionV2
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