pub struct StageMeasurement {
pub stage: Stage,
pub elapsed_ns: u64,
pub calls: u64,
pub attributed_ns: u64,
}Expand description
One aggregate fixed-stage measurement.
Fields§
§stage: Stage§elapsed_ns: u64§calls: u64§attributed_ns: u64Trait Implementations§
Source§impl Clone for StageMeasurement
impl Clone for StageMeasurement
Source§fn clone(&self) -> StageMeasurement
fn clone(&self) -> StageMeasurement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StageMeasurement
impl Debug for StageMeasurement
Source§impl<'de> Deserialize<'de> for StageMeasurement
impl<'de> Deserialize<'de> for StageMeasurement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StageMeasurement
Source§impl PartialEq for StageMeasurement
impl PartialEq for StageMeasurement
Source§impl Serialize for StageMeasurement
impl Serialize for StageMeasurement
impl StructuralPartialEq for StageMeasurement
Auto Trait Implementations§
impl Freeze for StageMeasurement
impl RefUnwindSafe for StageMeasurement
impl Send for StageMeasurement
impl Sync for StageMeasurement
impl Unpin for StageMeasurement
impl UnsafeUnpin for StageMeasurement
impl UnwindSafe for StageMeasurement
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