Struct devicemapper::CacheDevUsage[][src]

pub struct CacheDevUsage {
    pub meta_block_size: Sectors,
    pub used_meta: MetaBlocks,
    pub total_meta: MetaBlocks,
    pub cache_block_size: Sectors,
    pub used_cache: DataBlocks,
    pub total_cache: DataBlocks,
}
Expand description

Cache usage

Fields

meta_block_size: Sectors

The metadata block size, should always be equal to META_BLOCK_SIZE. At time of writing, all metadata blocks have the same size.

used_meta: MetaBlocks

The number of metadata blocks in use

total_meta: MetaBlocks

The number of metadata blocks available

cache_block_size: Sectors

The cache block size

used_cache: DataBlocks

Used cache blocks

total_cache: DataBlocks

Total cache blocks

Implementations

Make a new CacheDevUsage struct

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.