pub(crate) struct MetricsBatch {}
Implementations§
source§impl MetricsBatch
impl MetricsBatch
pub(crate) fn new(_: &WorkerMetrics) -> Self
pub(crate) fn submit(&mut self, _to: &WorkerMetrics, _mean_poll_time: u64)
pub(crate) fn about_to_park(&mut self)
pub(crate) fn unparked(&mut self)
pub(crate) fn inc_local_schedule_count(&mut self)
pub(crate) fn start_processing_scheduled_tasks(&mut self)
pub(crate) fn end_processing_scheduled_tasks(&mut self)
pub(crate) fn start_poll(&mut self)
pub(crate) fn end_poll(&mut self)
source§impl MetricsBatch
impl MetricsBatch
pub(crate) fn incr_steal_count(&mut self, _by: u16)
pub(crate) fn incr_steal_operations(&mut self)
pub(crate) fn incr_overflow_count(&mut self)
Auto Trait Implementations§
impl Freeze for MetricsBatch
impl RefUnwindSafe for MetricsBatch
impl Send for MetricsBatch
impl Sync for MetricsBatch
impl Unpin for MetricsBatch
impl UnwindSafe for MetricsBatch
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