pub struct JobMetrics { /* private fields */ }Expand description
Lock-free atomic execution metrics for one registered background job.
Implementations§
Source§impl JobMetrics
Snapshot queries for JobMetrics.
impl JobMetrics
Snapshot queries for JobMetrics.
Sourcepub fn snapshot(&self) -> JobMetricsSnapshot
pub fn snapshot(&self) -> JobMetricsSnapshot
Trait Implementations§
Source§impl Debug for JobMetrics
impl Debug for JobMetrics
Auto Trait Implementations§
impl !Freeze for JobMetrics
impl Forget for JobMetrics
impl Move for JobMetrics
impl RefUnwindSafe for JobMetrics
impl Send for JobMetrics
impl Sync for JobMetrics
impl Unpin for JobMetrics
impl UnsafeUnpin for JobMetricswhere
Align8<u64>: UnsafeUnpin,
impl UnwindSafe for JobMetricswhere
Align8<u64>: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendSync for T
impl<T> AnySync for T
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