pub struct AllocationTotalsV2 {
pub version: u16,
pub allocations: u64,
pub deallocations: u64,
pub allocated_bytes: u64,
pub deallocated_bytes: u64,
pub live_bytes: u64,
pub peak_live_bytes: u64,
}Expand description
Session-window allocation totals with live and peak levels at the end.
Fields§
§version: u16§allocations: u64§deallocations: u64§allocated_bytes: u64§deallocated_bytes: u64§live_bytes: u64Process live bytes at the end of the window.
peak_live_bytes: u64Process peak live bytes observed during the window.
Trait Implementations§
Source§impl Clone for AllocationTotalsV2
impl Clone for AllocationTotalsV2
Source§fn clone(&self) -> AllocationTotalsV2
fn clone(&self) -> AllocationTotalsV2
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 AllocationTotalsV2
impl Debug for AllocationTotalsV2
Source§impl<'de> Deserialize<'de> for AllocationTotalsV2
impl<'de> Deserialize<'de> for AllocationTotalsV2
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 AllocationTotalsV2
Source§impl PartialEq for AllocationTotalsV2
impl PartialEq for AllocationTotalsV2
Source§impl Serialize for AllocationTotalsV2
impl Serialize for AllocationTotalsV2
impl StructuralPartialEq for AllocationTotalsV2
Auto Trait Implementations§
impl Freeze for AllocationTotalsV2
impl RefUnwindSafe for AllocationTotalsV2
impl Send for AllocationTotalsV2
impl Sync for AllocationTotalsV2
impl Unpin for AllocationTotalsV2
impl UnsafeUnpin for AllocationTotalsV2
impl UnwindSafe for AllocationTotalsV2
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