pub struct Bottleneck {
pub op_type: String,
pub percentage: f64,
pub total_time: Duration,
pub call_count: usize,
pub avg_time: Duration,
}Expand description
Identified performance bottleneck
Fields§
§op_type: String§percentage: f64§total_time: Duration§call_count: usize§avg_time: DurationTrait Implementations§
Source§impl Clone for Bottleneck
impl Clone for Bottleneck
Source§fn clone(&self) -> Bottleneck
fn clone(&self) -> Bottleneck
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 Bottleneck
impl RefUnwindSafe for Bottleneck
impl Send for Bottleneck
impl Sync for Bottleneck
impl Unpin for Bottleneck
impl UnwindSafe for Bottleneck
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