pub struct AllocatorTelemetry {
pub peak_bytes: u64,
pub active_bytes: u64,
pub cache_bytes: u64,
}Expand description
Backend allocator observations for one execution.
Fields§
§peak_bytes: u64Peak active backend-managed allocation bytes.
active_bytes: u64Active backend-managed allocation bytes at collection time.
cache_bytes: u64Bytes retained by the backend allocator cache at collection time.
Trait Implementations§
Source§impl Clone for AllocatorTelemetry
impl Clone for AllocatorTelemetry
Source§fn clone(&self) -> AllocatorTelemetry
fn clone(&self) -> AllocatorTelemetry
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 AllocatorTelemetry
impl Debug for AllocatorTelemetry
Source§impl<'de> Deserialize<'de> for AllocatorTelemetry
impl<'de> Deserialize<'de> for AllocatorTelemetry
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 AllocatorTelemetry
Source§impl PartialEq for AllocatorTelemetry
impl PartialEq for AllocatorTelemetry
Source§impl Serialize for AllocatorTelemetry
impl Serialize for AllocatorTelemetry
impl StructuralPartialEq for AllocatorTelemetry
Auto Trait Implementations§
impl Freeze for AllocatorTelemetry
impl RefUnwindSafe for AllocatorTelemetry
impl Send for AllocatorTelemetry
impl Sync for AllocatorTelemetry
impl Unpin for AllocatorTelemetry
impl UnsafeUnpin for AllocatorTelemetry
impl UnwindSafe for AllocatorTelemetry
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