pub struct OpProfile {
pub op_type: String,
pub count: usize,
pub total_time: Duration,
pub avg_time: Duration,
pub min_time: Duration,
pub max_time: Duration,
}Expand description
Profiling statistics for a single operation
Fields§
§op_type: String§count: usize§total_time: Duration§avg_time: Duration§min_time: Duration§max_time: DurationImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpProfile
impl RefUnwindSafe for OpProfile
impl Send for OpProfile
impl Sync for OpProfile
impl Unpin for OpProfile
impl UnwindSafe for OpProfile
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