tokio/runtime/metrics/mock.rs
1//! This file contains mocks of the types in src/runtime/metrics
2
3pub(crate) struct SchedulerMetrics {}
4
5#[derive(Clone, Default)]
6pub(crate) struct HistogramBuilder {}
7
8impl SchedulerMetrics {
9 pub(crate) fn new() -> Self {
10 Self {}
11 }
12
13 /// Increment the number of tasks scheduled externally
14 pub(crate) fn inc_remote_schedule_count(&self) {}
15}