pub struct NodeProfile {
pub invokes: u64,
pub total_duration_ns: u128,
pub last_duration_ns: u128,
pub status: Status,
}Expand description
NodeProfile data container.
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.
status: Statusstatus field for status.
Trait Implementations§
Source§impl Clone for NodeProfile
impl Clone for NodeProfile
Source§fn clone(&self) -> NodeProfile
fn clone(&self) -> NodeProfile
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 NodeProfile
impl Debug for NodeProfile
Source§impl PartialEq for NodeProfile
impl PartialEq for NodeProfile
impl Eq for NodeProfile
impl StructuralPartialEq for NodeProfile
Auto Trait Implementations§
impl Freeze for NodeProfile
impl RefUnwindSafe for NodeProfile
impl Send for NodeProfile
impl Sync for NodeProfile
impl Unpin for NodeProfile
impl UnsafeUnpin for NodeProfile
impl UnwindSafe for NodeProfile
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.