pub trait RuntimeStatsContainer<T: RuntimeStatsSource> {
// Required methods
fn take_component_task(&mut self) -> Option<T>;
fn take_parent_task(&mut self) -> Option<T>;
}Expand description
Trait for the container returned by a DiagnosticsReceiverProvider.
Used for simplying testing.
Required Methods§
Sourcefn take_component_task(&mut self) -> Option<T>
fn take_component_task(&mut self) -> Option<T>
The task running a component.
Sourcefn take_parent_task(&mut self) -> Option<T>
fn take_parent_task(&mut self) -> Option<T>
An optional parent task running multiple components including component_task.