pub struct AuxMetricEntry {
pub id: &'static str,
pub start: fn() -> u64,
pub finish: fn(u64) -> u64,
}Expand description
Dynamic dispatch entry for collecting a metric
Fields§
§id: &'static str§start: fn() -> u64§finish: fn(u64) -> u64Auto Trait Implementations§
impl Freeze for AuxMetricEntry
impl RefUnwindSafe for AuxMetricEntry
impl Send for AuxMetricEntry
impl Sync for AuxMetricEntry
impl Unpin for AuxMetricEntry
impl UnsafeUnpin for AuxMetricEntry
impl UnwindSafe for AuxMetricEntry
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