[][src]Struct devicemapper::CacheDevPerformance

pub struct CacheDevPerformance {
    pub read_hits: u64,
    pub read_misses: u64,
    pub write_hits: u64,
    pub write_misses: u64,
    pub demotions: u64,
    pub promotions: u64,
    pub dirty: u64,
}

Cache dev performance data

Fields

read_hits: u64

Number of read hits

read_misses: u64

Number of read misses

write_hits: u64

Number of write hits

write_misses: u64

Number of write misses

demotions: u64

Number of demotions

promotions: u64

Number of promotions

dirty: u64

Number of dirty blocks

Methods

impl CacheDevPerformance[src]

pub fn new(
    read_hits: u64,
    read_misses: u64,
    write_hits: u64,
    write_misses: u64,
    demotions: u64,
    promotions: u64,
    dirty: u64
) -> CacheDevPerformance
[src]

Construct a new CacheDevPerformance struct

Trait Implementations

impl Debug for CacheDevPerformance[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]