pub struct FnInstrumentation { /* private fields */ }
Implementations§
Source§impl FnInstrumentation
impl FnInstrumentation
pub fn new() -> FnInstrumentation
pub fn record_call(&self)
pub fn get_call_count(&self) -> u64
Auto Trait Implementations§
impl !Freeze for FnInstrumentation
impl RefUnwindSafe for FnInstrumentation
impl Send for FnInstrumentation
impl Sync for FnInstrumentation
impl Unpin for FnInstrumentation
impl UnwindSafe for FnInstrumentation
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