pub struct ProfileStat {
pub invokes: u64,
pub total_duration_ns: u128,
pub last_duration_ns: u128,
}Expand description
Per-handle accumulated profile counters (D39).
Fields§
§invokes: u64invokes field for invokes.
total_duration_ns: u128total_duration_ns field for total duration ns.
last_duration_ns: u128last_duration_ns field for last duration ns.
Trait Implementations§
Source§impl Clone for ProfileStat
impl Clone for ProfileStat
Source§fn clone(&self) -> ProfileStat
fn clone(&self) -> ProfileStat
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 Debug for ProfileStat
impl Debug for ProfileStat
Source§impl Default for ProfileStat
impl Default for ProfileStat
Source§fn default() -> ProfileStat
fn default() -> ProfileStat
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProfileStat
impl PartialEq for ProfileStat
impl Copy for ProfileStat
impl Eq for ProfileStat
impl StructuralPartialEq for ProfileStat
Auto Trait Implementations§
impl Freeze for ProfileStat
impl RefUnwindSafe for ProfileStat
impl Send for ProfileStat
impl Sync for ProfileStat
impl Unpin for ProfileStat
impl UnsafeUnpin for ProfileStat
impl UnwindSafe for ProfileStat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.