pub struct RuntimeMetricsSnapshot {
pub resources: [GaugeSnapshot; 13],
pub buffers: [GaugeSnapshot; 8],
pub tasks: [TaskMetricSnapshot; 10],
pub wakes: [u64; 4],
pub readiness: ReadinessMetricSnapshot,
pub fairness_yields: [u64; 6],
pub completion_anomalies: [u64; 3],
pub channels: [ChannelMetricSnapshot; 10],
pub executors: [ExecutorMetricSnapshot; 3],
pub watchdogs: [WatchdogMetricSnapshot; 4],
pub stderr_fallbacks: [u64; 2],
}Fields§
§resources: [GaugeSnapshot; 13]§buffers: [GaugeSnapshot; 8]§tasks: [TaskMetricSnapshot; 10]§wakes: [u64; 4]§readiness: ReadinessMetricSnapshot§fairness_yields: [u64; 6]§completion_anomalies: [u64; 3]§channels: [ChannelMetricSnapshot; 10]§executors: [ExecutorMetricSnapshot; 3]§watchdogs: [WatchdogMetricSnapshot; 4]§stderr_fallbacks: [u64; 2]Implementations§
Source§impl RuntimeMetricsSnapshot
impl RuntimeMetricsSnapshot
pub fn task(&self, class: TaskClass) -> TaskMetricSnapshot
Trait Implementations§
Source§impl Clone for RuntimeMetricsSnapshot
impl Clone for RuntimeMetricsSnapshot
Source§fn clone(&self) -> RuntimeMetricsSnapshot
fn clone(&self) -> RuntimeMetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RuntimeMetricsSnapshot
impl Debug for RuntimeMetricsSnapshot
impl Eq for RuntimeMetricsSnapshot
Source§impl PartialEq for RuntimeMetricsSnapshot
impl PartialEq for RuntimeMetricsSnapshot
impl StructuralPartialEq for RuntimeMetricsSnapshot
Auto Trait Implementations§
impl Freeze for RuntimeMetricsSnapshot
impl RefUnwindSafe for RuntimeMetricsSnapshot
impl Send for RuntimeMetricsSnapshot
impl Sync for RuntimeMetricsSnapshot
impl Unpin for RuntimeMetricsSnapshot
impl UnsafeUnpin for RuntimeMetricsSnapshot
impl UnwindSafe for RuntimeMetricsSnapshot
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