pub struct BlockStats {
pub block_size: u32,
pub num_created: u32,
pub num_free: u32,
}Expand description
Statistics about a specific block size within a memory pool.
Fields§
§block_size: u32Number of bytes in each of these blocks.
num_created: u32Number of memory blocks of this size created.
num_free: u32Number of memory blocks of this size that are free.
Trait Implementations§
Source§impl Clone for BlockStats
impl Clone for BlockStats
Source§fn clone(&self) -> BlockStats
fn clone(&self) -> BlockStats
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 BlockStats
impl Debug for BlockStats
impl Copy for BlockStats
Auto Trait Implementations§
impl Freeze for BlockStats
impl RefUnwindSafe for BlockStats
impl Send for BlockStats
impl Sync for BlockStats
impl Unpin for BlockStats
impl UnsafeUnpin for BlockStats
impl UnwindSafe for BlockStats
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