pub struct ThinPoolUsage {
pub used_meta: MetaBlocks,
pub total_meta: MetaBlocks,
pub used_data: DataBlocks,
pub total_data: DataBlocks,
}Expand description
Contains values indicating the thinpool’s used vs total allocations for metadata and data blocks.
Fields§
§used_meta: MetaBlocksThe number of metadata blocks that are in use.
total_meta: MetaBlocksThe total number of metadata blocks available to the thinpool.
used_data: DataBlocksThe number of data blocks that are in use.
total_data: DataBlocksThe total number of data blocks available to the thinpool.
Trait Implementations§
Source§impl Clone for ThinPoolUsage
impl Clone for ThinPoolUsage
Source§fn clone(&self) -> ThinPoolUsage
fn clone(&self) -> ThinPoolUsage
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 moreAuto Trait Implementations§
impl Freeze for ThinPoolUsage
impl RefUnwindSafe for ThinPoolUsage
impl Send for ThinPoolUsage
impl Sync for ThinPoolUsage
impl Unpin for ThinPoolUsage
impl UnwindSafe for ThinPoolUsage
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