pub struct InvocationRecord {
pub name: &'static str,
pub start_ns: u64,
pub elapsed_ns: u64,
pub self_ns: u64,
pub alloc_count: u64,
pub alloc_bytes: u64,
pub free_count: u64,
pub free_bytes: u64,
pub depth: u16,
}Expand description
Per-invocation measurement record with nanosecond precision.
Fields§
§name: &'static str§start_ns: u64§elapsed_ns: u64§self_ns: u64§alloc_count: u64§alloc_bytes: u64§free_count: u64§free_bytes: u64§depth: u16Trait Implementations§
Source§impl Clone for InvocationRecord
impl Clone for InvocationRecord
Source§fn clone(&self) -> InvocationRecord
fn clone(&self) -> InvocationRecord
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 InvocationRecord
impl RefUnwindSafe for InvocationRecord
impl Send for InvocationRecord
impl Sync for InvocationRecord
impl Unpin for InvocationRecord
impl UnsafeUnpin for InvocationRecord
impl UnwindSafe for InvocationRecord
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