pub struct StreamingPhaseReceipt {
pub elapsed_ns: u64,
pub allocated_bytes: u64,
}Expand description
Timing and allocation counters for one named execution phase.
Fields§
§elapsed_ns: u64Elapsed wall-clock nanoseconds.
allocated_bytes: u64Explicitly allocated bytes attributed to the phase.
Trait Implementations§
Source§impl Clone for StreamingPhaseReceipt
impl Clone for StreamingPhaseReceipt
Source§fn clone(&self) -> StreamingPhaseReceipt
fn clone(&self) -> StreamingPhaseReceipt
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 StreamingPhaseReceipt
impl Debug for StreamingPhaseReceipt
Source§impl<'de> Deserialize<'de> for StreamingPhaseReceipt
impl<'de> Deserialize<'de> for StreamingPhaseReceipt
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
Source§impl PartialEq for StreamingPhaseReceipt
impl PartialEq for StreamingPhaseReceipt
Source§fn eq(&self, other: &StreamingPhaseReceipt) -> bool
fn eq(&self, other: &StreamingPhaseReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamingPhaseReceipt
impl Serialize for StreamingPhaseReceipt
impl Eq for StreamingPhaseReceipt
impl StructuralPartialEq for StreamingPhaseReceipt
Auto Trait Implementations§
impl Freeze for StreamingPhaseReceipt
impl RefUnwindSafe for StreamingPhaseReceipt
impl Send for StreamingPhaseReceipt
impl Sync for StreamingPhaseReceipt
impl Unpin for StreamingPhaseReceipt
impl UnsafeUnpin for StreamingPhaseReceipt
impl UnwindSafe for StreamingPhaseReceipt
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