pub struct ArenaStats {
pub epoch: EpochId,
pub chunk_count: usize,
pub total_allocated: usize,
pub total_used: usize,
}Expand description
Statistics about an arena.
Fields§
§epoch: EpochIdThe epoch this arena belongs to.
chunk_count: usizeNumber of chunks allocated.
total_allocated: usizeTotal bytes allocated.
total_used: usizeTotal bytes used.
Trait Implementations§
Source§impl Clone for ArenaStats
impl Clone for ArenaStats
Source§fn clone(&self) -> ArenaStats
fn clone(&self) -> ArenaStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ArenaStats
impl RefUnwindSafe for ArenaStats
impl Send for ArenaStats
impl Sync for ArenaStats
impl Unpin for ArenaStats
impl UnwindSafe for ArenaStats
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