pub struct TraceHandle { /* private fields */ }Implementations§
Source§impl TraceHandle
impl TraceHandle
pub fn put_metric(&mut self, name: &str, value: i64) -> PerformanceResult<()>
pub fn stop(self) -> PerformanceResult<PerformanceTrace>
Trait Implementations§
Source§impl Clone for TraceHandle
impl Clone for TraceHandle
Source§fn clone(&self) -> TraceHandle
fn clone(&self) -> TraceHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TraceHandle
impl RefUnwindSafe for TraceHandle
impl Send for TraceHandle
impl Sync for TraceHandle
impl Unpin for TraceHandle
impl UnwindSafe for TraceHandle
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