pub struct WorkerStats { /* private fields */ }Expand description
Statistics for worker router operations.
Implementations§
Source§impl WorkerStats
impl WorkerStats
Sourcepub fn clone_avoidance_ratio(&self) -> f64
pub fn clone_avoidance_ratio(&self) -> f64
Get clone avoidance ratio.
Higher is better - means more accesses without Arc cloning.
Trait Implementations§
Source§impl Debug for WorkerStats
impl Debug for WorkerStats
Source§impl Default for WorkerStats
impl Default for WorkerStats
Source§fn default() -> WorkerStats
fn default() -> WorkerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for WorkerStats
impl RefUnwindSafe for WorkerStats
impl Send for WorkerStats
impl Sync for WorkerStats
impl Unpin for WorkerStats
impl UnwindSafe for WorkerStats
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
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging