pub struct NodePoolStats {
pub total_created: usize,
pub total_allocations: usize,
pub total_recycled: usize,
}Expand description
Statistics for node pool performance tracking
Fields§
§total_created: usizeTotal nodes created by the pool
total_allocations: usizeTotal nodes allocated (both new and reused)
total_recycled: usizeTotal nodes recycled back to the pool
Trait Implementations§
Source§impl Clone for NodePoolStats
impl Clone for NodePoolStats
Source§fn clone(&self) -> NodePoolStats
fn clone(&self) -> NodePoolStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodePoolStats
impl Debug for NodePoolStats
Source§impl Default for NodePoolStats
impl Default for NodePoolStats
Source§fn default() -> NodePoolStats
fn default() -> NodePoolStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodePoolStats
impl RefUnwindSafe for NodePoolStats
impl Send for NodePoolStats
impl Sync for NodePoolStats
impl Unpin for NodePoolStats
impl UnwindSafe for NodePoolStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)