pub struct ArenaPoolStats {
pub acquired: u64,
pub returned: u64,
pub created: u64,
pub discarded: u64,
}Expand description
Statistics for the arena pool.
Fields§
§acquired: u64Number of arenas acquired.
returned: u64Number of arenas returned.
created: u64Number of arenas created (not found in pool).
discarded: u64Number of arenas discarded (pool was full).
Trait Implementations§
Source§impl Clone for ArenaPoolStats
impl Clone for ArenaPoolStats
Source§fn clone(&self) -> ArenaPoolStats
fn clone(&self) -> ArenaPoolStats
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 moreSource§impl Debug for ArenaPoolStats
impl Debug for ArenaPoolStats
Source§impl Default for ArenaPoolStats
impl Default for ArenaPoolStats
Source§fn default() -> ArenaPoolStats
fn default() -> ArenaPoolStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArenaPoolStats
impl RefUnwindSafe for ArenaPoolStats
impl Send for ArenaPoolStats
impl Sync for ArenaPoolStats
impl Unpin for ArenaPoolStats
impl UnsafeUnpin for ArenaPoolStats
impl UnwindSafe for ArenaPoolStats
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