pub struct Sample {
pub calls: u64,
pub units: u64,
pub elapsed: Duration,
pub max: Duration,
pub invalid_clock: u64,
}Fields§
§calls: u64Attempts, including operations ending in an error or unwind.
units: u64Call-site work units: dependency edges, keys, mutations, or 1 per call.
elapsed: DurationIncludes nested phases; never add phase totals to estimate frame time.
max: Duration§invalid_clock: u64Trait Implementations§
impl Copy for Sample
impl Eq for Sample
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
impl UnwindSafe for Sample
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