pub struct RuntimeDiagnosticsSnapshot {
pub runtime_id: String,
pub root_name: String,
pub group_id: TaskGroupId,
pub parent_group_id: Option<TaskGroupId>,
pub lifecycle_state: TaskGroupLifecycleState,
pub task_count: usize,
pub child_count: usize,
pub active_tasks: usize,
pub registry_slots: usize,
pub events: TaskGroupEventCounts,
pub blocking_lanes: Vec<BlockingExecutorSnapshot>,
}Expand description
Represents runtime diagnostics snapshot.
Fields§
§runtime_id: StringThe runtime identifier.
root_name: StringThe root name value.
group_id: TaskGroupIdThe group identifier.
parent_group_id: Option<TaskGroupId>The parent group identifier.
lifecycle_state: TaskGroupLifecycleStateThe lifecycle state value.
task_count: usizeThe number of task entries.
child_count: usizeThe number of child entries.
active_tasks: usizeThe number of active task entries.
registry_slots: usizeThe number of active child registry slots.
events: TaskGroupEventCountsFailures absorbed anywhere in the root’s tree.
blocking_lanes: Vec<BlockingExecutorSnapshot>The blocking lanes value.
Trait Implementations§
Source§impl Clone for RuntimeDiagnosticsSnapshot
impl Clone for RuntimeDiagnosticsSnapshot
Source§impl Debug for RuntimeDiagnosticsSnapshot
impl Debug for RuntimeDiagnosticsSnapshot
Auto Trait Implementations§
impl Forget for RuntimeDiagnosticsSnapshot
impl Freeze for RuntimeDiagnosticsSnapshotwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<BlockingExecutorSnapshot>: Freeze,
impl Move for RuntimeDiagnosticsSnapshot
impl RefUnwindSafe for RuntimeDiagnosticsSnapshot
impl Send for RuntimeDiagnosticsSnapshotwhere
RawVecInner: Send,
impl Sync for RuntimeDiagnosticsSnapshotwhere
RawVecInner: Sync,
impl Unpin for RuntimeDiagnosticsSnapshot
impl UnsafeUnpin for RuntimeDiagnosticsSnapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<BlockingExecutorSnapshot>: UnsafeUnpin,
impl UnwindSafe for RuntimeDiagnosticsSnapshotwhere
RawVecInner: UnwindSafe,
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