#[repr(C)]
pub struct dm_status_cache {
Show 22 fields pub version: u64, pub metadata_block_size: u32, pub block_size: u32, pub metadata_used_blocks: u64, pub metadata_total_blocks: u64, pub used_blocks: u64, pub dirty_blocks: u64, pub total_blocks: u64, pub read_hits: u64, pub read_misses: u64, pub write_hits: u64, pub write_misses: u64, pub demotions: u64, pub promotions: u64, pub feature_flags: u64, pub core_argc: c_int, pub core_argv: *mut *mut c_char, pub policy_name: *mut c_char, pub policy_argc: c_int, pub policy_argv: *mut *mut c_char, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>, pub __bindgen_padding_0: u32,
}

Fields

version: u64metadata_block_size: u32block_size: u32metadata_used_blocks: u64metadata_total_blocks: u64used_blocks: u64dirty_blocks: u64total_blocks: u64read_hits: u64read_misses: u64write_hits: u64write_misses: u64demotions: u64promotions: u64feature_flags: u64core_argc: c_intcore_argv: *mut *mut c_charpolicy_name: *mut c_charpolicy_argc: c_intpolicy_argv: *mut *mut c_char_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>__bindgen_padding_0: u32

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.