pub struct RuntimeDiagnostics { /* private fields */ }Expand description
Represents runtime diagnostics.
Implementations§
Source§impl RuntimeDiagnostics
impl RuntimeDiagnostics
Sourcepub fn runtime_id(&self) -> &str
pub fn runtime_id(&self) -> &str
Returns the runtime id.
Sourcepub fn snapshot(
&self,
root: &TaskGroup,
blocking_lanes: Vec<BlockingExecutorSnapshot>,
) -> RuntimeDiagnosticsSnapshot
pub fn snapshot( &self, root: &TaskGroup, blocking_lanes: Vec<BlockingExecutorSnapshot>, ) -> RuntimeDiagnosticsSnapshot
Returns the snapshot.
Sourcepub fn view_v1(
&self,
component: RuntimeComponent,
root: &TaskGroup,
blocking_lanes: Vec<BlockingExecutorSnapshot>,
) -> RuntimeDiagnosticsViewV1
pub fn view_v1( &self, component: RuntimeComponent, root: &TaskGroup, blocking_lanes: Vec<BlockingExecutorSnapshot>, ) -> RuntimeDiagnosticsViewV1
Creates a bounded diagnostics view using the default sanitization limits.
Sourcepub fn view_v1_with_options(
&self,
component: RuntimeComponent,
root: &TaskGroup,
blocking_lanes: Vec<BlockingExecutorSnapshot>,
options: RuntimeDiagnosticsViewOptions,
) -> RuntimeDiagnosticsViewV1
pub fn view_v1_with_options( &self, component: RuntimeComponent, root: &TaskGroup, blocking_lanes: Vec<BlockingExecutorSnapshot>, options: RuntimeDiagnosticsViewOptions, ) -> RuntimeDiagnosticsViewV1
Creates a bounded diagnostics view using explicit sanitization limits.
Source§impl RuntimeDiagnostics
impl RuntimeDiagnostics
Sourcepub fn view_v2(
&self,
component: RuntimeComponent,
root: &TaskGroup,
blocking_lanes: Vec<BlockingExecutorSnapshot>,
inputs: RuntimeDiagnosticsInputs,
) -> RuntimeDiagnosticsViewV2
pub fn view_v2( &self, component: RuntimeComponent, root: &TaskGroup, blocking_lanes: Vec<BlockingExecutorSnapshot>, inputs: RuntimeDiagnosticsInputs, ) -> RuntimeDiagnosticsViewV2
Creates a bounded, explicitly scoped diagnostics view.
Sourcepub fn view_v2_with_options(
&self,
component: RuntimeComponent,
root: &TaskGroup,
blocking_lanes: Vec<BlockingExecutorSnapshot>,
inputs: RuntimeDiagnosticsInputs,
options: RuntimeDiagnosticsViewOptionsV2,
) -> RuntimeDiagnosticsViewV2
pub fn view_v2_with_options( &self, component: RuntimeComponent, root: &TaskGroup, blocking_lanes: Vec<BlockingExecutorSnapshot>, inputs: RuntimeDiagnosticsInputs, options: RuntimeDiagnosticsViewOptionsV2, ) -> RuntimeDiagnosticsViewV2
Creates a bounded, explicitly scoped diagnostics view using explicit budget limits.
Trait Implementations§
Source§impl Clone for RuntimeDiagnostics
impl Clone for RuntimeDiagnostics
Auto Trait Implementations§
impl Freeze for RuntimeDiagnostics
impl RefUnwindSafe for RuntimeDiagnostics
impl Send for RuntimeDiagnostics
impl Sync for RuntimeDiagnostics
impl Unpin for RuntimeDiagnostics
impl UnsafeUnpin for RuntimeDiagnostics
impl UnwindSafe for RuntimeDiagnostics
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