pub struct TracingStats {
pub total_events: usize,
pub min_timestamp: u64,
pub max_timestamp: u64,
pub covered_dur: u64,
}Fields§
§total_events: usize§min_timestamp: u64§max_timestamp: u64§covered_dur: u64Implementations§
Source§impl TracingStats
impl TracingStats
pub fn new_events( &mut self, events_cnt: usize, start_timestamp: u64, end_timestamp: u64, )
Trait Implementations§
Source§impl Clone for TracingStats
impl Clone for TracingStats
Source§fn clone(&self) -> TracingStats
fn clone(&self) -> TracingStats
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 moreSource§impl Default for TracingStats
impl Default for TracingStats
Source§fn default() -> TracingStats
fn default() -> TracingStats
Returns the “default value” for a type. Read more
impl Copy for TracingStats
Auto Trait Implementations§
impl Freeze for TracingStats
impl RefUnwindSafe for TracingStats
impl Send for TracingStats
impl Sync for TracingStats
impl Unpin for TracingStats
impl UnwindSafe for TracingStats
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