pub(crate) struct WorkerMetrics {}
Implementations§
source§impl WorkerMetrics
impl WorkerMetrics
pub(crate) fn new() -> Self
pub(crate) fn from_config(config: &Config) -> Self
pub(crate) fn set_queue_depth(&self, _len: usize)
pub(crate) fn set_thread_id(&self, _thread_id: ThreadId)
Auto Trait Implementations§
impl Freeze for WorkerMetrics
impl RefUnwindSafe for WorkerMetrics
impl Send for WorkerMetrics
impl Sync for WorkerMetrics
impl Unpin for WorkerMetrics
impl UnwindSafe for WorkerMetrics
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