pub struct PerformanceMonitor { /* private fields */ }Expand description
Performance monitoring utilities
Implementations§
Source§impl PerformanceMonitor
impl PerformanceMonitor
Sourcepub fn start_span(&self, operation: &str) -> PerformanceSpan
pub fn start_span(&self, operation: &str) -> PerformanceSpan
Start performance span
Trait Implementations§
Source§impl Clone for PerformanceMonitor
impl Clone for PerformanceMonitor
Source§fn clone(&self) -> PerformanceMonitor
fn clone(&self) -> PerformanceMonitor
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 PerformanceMonitor
impl RefUnwindSafe for PerformanceMonitor
impl Send for PerformanceMonitor
impl Sync for PerformanceMonitor
impl Unpin for PerformanceMonitor
impl UnwindSafe for PerformanceMonitor
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