pub struct StageAllocationV2 {
pub version: u16,
pub metric_id: Option<MetricId>,
pub allocations: u64,
pub allocated_bytes: u64,
pub live_bytes: u64,
pub peak_live_bytes: u64,
}Expand description
Per-stage allocation ownership; metric_id is None for the root slot
that owns allocations made outside any recorded span.
Fields§
§version: u16§metric_id: Option<MetricId>§allocations: u64Allocations attributed during the session window.
allocated_bytes: u64Bytes attributed during the session window.
live_bytes: u64Live bytes owned by this stage at the end of the window.
peak_live_bytes: u64Peak live bytes owned by this stage during the window.
Trait Implementations§
Source§impl Clone for StageAllocationV2
impl Clone for StageAllocationV2
Source§fn clone(&self) -> StageAllocationV2
fn clone(&self) -> StageAllocationV2
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 StageAllocationV2
impl Debug for StageAllocationV2
Source§impl<'de> Deserialize<'de> for StageAllocationV2
impl<'de> Deserialize<'de> for StageAllocationV2
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 StageAllocationV2
Source§impl PartialEq for StageAllocationV2
impl PartialEq for StageAllocationV2
Source§impl Serialize for StageAllocationV2
impl Serialize for StageAllocationV2
impl StructuralPartialEq for StageAllocationV2
Auto Trait Implementations§
impl Freeze for StageAllocationV2
impl RefUnwindSafe for StageAllocationV2
impl Send for StageAllocationV2
impl Sync for StageAllocationV2
impl Unpin for StageAllocationV2
impl UnsafeUnpin for StageAllocationV2
impl UnwindSafe for StageAllocationV2
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