pub struct MemoryUsage {
pub limit_bytes: u64,
pub peak_bytes: u64,
pub peak_aligned_bytes: u64,
pub current_bytes: u64,
pub current_aligned_bytes: u64,
pub failed_allocation_count: u64,
pub largest_failed_allocation_bytes: u64,
}Expand description
Allocator counters of one query-domain member.
Fields§
§limit_bytes: u64Allocation limit the allocator enforced for the member.
peak_bytes: u64Highest requested bytes held concurrently by this member.
peak_aligned_bytes: u64Highest allocator-aligned bytes held concurrently by this member.
current_bytes: u64Requested allocation bytes still held at the snapshot.
current_aligned_bytes: u64Aligned allocation bytes still held at the snapshot.
failed_allocation_count: u64Number of rejected or failed allocations recorded for the member.
largest_failed_allocation_bytes: u64Largest failed allocation request in bytes; zero when none was recorded.
Trait Implementations§
Source§impl Clone for MemoryUsage
impl Clone for MemoryUsage
impl Copy for MemoryUsage
Source§impl Debug for MemoryUsage
impl Debug for MemoryUsage
impl Eq for MemoryUsage
Source§impl PartialEq for MemoryUsage
impl PartialEq for MemoryUsage
impl StructuralPartialEq for MemoryUsage
Auto Trait Implementations§
impl Freeze for MemoryUsage
impl RefUnwindSafe for MemoryUsage
impl Send for MemoryUsage
impl Sync for MemoryUsage
impl Unpin for MemoryUsage
impl UnsafeUnpin for MemoryUsage
impl UnwindSafe for MemoryUsage
Blanket Implementations§
impl<T> Allocation for T
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