pub struct StackPoolSnapshot {
pub cached: usize,
pub allocated: u64,
pub reused: u64,
pub retained: u64,
pub discarded: u64,
}Expand description
Operational counters for a stack pool.
Fields§
§cached: usizeStacks currently retained for reuse.
allocated: u64Fresh stack mappings created.
reused: u64Cached stacks handed out again.
retained: u64Completed stacks accepted into the cache.
discarded: u64Completed stacks dropped because the cache was full.
Trait Implementations§
Source§impl Clone for StackPoolSnapshot
impl Clone for StackPoolSnapshot
impl Copy for StackPoolSnapshot
Source§impl Debug for StackPoolSnapshot
impl Debug for StackPoolSnapshot
Source§impl Default for StackPoolSnapshot
impl Default for StackPoolSnapshot
impl Eq for StackPoolSnapshot
Source§impl PartialEq for StackPoolSnapshot
impl PartialEq for StackPoolSnapshot
impl StructuralPartialEq for StackPoolSnapshot
Auto Trait Implementations§
impl Forget for StackPoolSnapshot
impl Freeze for StackPoolSnapshot
impl RefUnwindSafe for StackPoolSnapshot
impl Send for StackPoolSnapshot
impl Sync for StackPoolSnapshot
impl Unpin for StackPoolSnapshot
impl UnsafeUnpin for StackPoolSnapshot
impl UnwindSafe for StackPoolSnapshot
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