Struct devicemapper::ThinPoolUsage
source · 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 copy 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 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