Struct devicemapper::CacheDevWorkingStatus[][src]

pub struct CacheDevWorkingStatus {
    pub usage: CacheDevUsage,
    pub performance: CacheDevPerformance,
    pub feature_args: Vec<String>,
    pub core_args: Vec<(String, String)>,
    pub policy: String,
    pub policy_args: Vec<(String, String)>,
    pub metadata_mode: CacheDevMetadataMode,
    pub needs_check: bool,
}
Expand description

Status values of a cache device when it is working

Fields

usage: CacheDevUsage

A struct recording block usage for all devices

performance: CacheDevPerformance

A struct recording cache dev performance

feature_args: Vec<String>

The feature args

core_args: Vec<(String, String)>

The core args

policy: String

The name of the replacement policy to use User-defined policies are permitted.

policy_args: Vec<(String, String)>

Arguments for the designated policy

metadata_mode: CacheDevMetadataMode

cache metadata mode

needs_check: bool

needs_check flag has been set in metadata superblock

Implementations

Make a new CacheDevWorkingStatus 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.