pub struct PoolReport {
pub count: u32,
pub bytes: u64,
}Expand description
PoolReport summarizes one resource pool or cache.
Fields§
§count: u32count is the number of live entries.
bytes: u64bytes is their estimated memory usage.
Trait Implementations§
Source§impl Clone for PoolReport
impl Clone for PoolReport
Source§fn clone(&self) -> PoolReport
fn clone(&self) -> PoolReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PoolReport
Source§impl Debug for PoolReport
impl Debug for PoolReport
Source§impl Default for PoolReport
impl Default for PoolReport
Source§fn default() -> PoolReport
fn default() -> PoolReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PoolReport
impl RefUnwindSafe for PoolReport
impl Send for PoolReport
impl Sync for PoolReport
impl Unpin for PoolReport
impl UnsafeUnpin for PoolReport
impl UnwindSafe for PoolReport
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