Struct libdevmapper_sys::dm_status_thin_pool
source · #[repr(C)]pub struct dm_status_thin_pool {
pub transaction_id: u64,
pub used_metadata_blocks: u64,
pub total_metadata_blocks: u64,
pub used_data_blocks: u64,
pub total_data_blocks: u64,
pub held_metadata_root: u64,
pub read_only: u32,
pub discards: dm_thin_discards_t,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
pub __bindgen_padding_0: u32,
}
Fields
transaction_id: u64
used_metadata_blocks: u64
total_metadata_blocks: u64
used_data_blocks: u64
total_data_blocks: u64
held_metadata_root: u64
read_only: u32
discards: dm_thin_discards_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>
__bindgen_padding_0: u32
Implementations
sourceimpl dm_status_thin_pool
impl dm_status_thin_pool
pub fn fail(&self) -> u32
pub fn set_fail(&mut self, val: u32)
pub fn error_if_no_space(&self) -> u32
pub fn set_error_if_no_space(&mut self, val: u32)
pub fn out_of_data_space(&self) -> u32
pub fn set_out_of_data_space(&mut self, val: u32)
pub fn needs_check(&self) -> u32
pub fn set_needs_check(&mut self, val: u32)
pub fn error(&self) -> u32
pub fn set_error(&mut self, val: u32)
pub fn reserved(&self) -> u32
pub fn set_reserved(&mut self, val: u32)
pub fn new_bitfield_1(
fail: u32,
error_if_no_space: u32,
out_of_data_space: u32,
needs_check: u32,
error: u32,
reserved: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
Trait Implementations
sourceimpl Clone for dm_status_thin_pool
impl Clone for dm_status_thin_pool
sourcefn clone(&self) -> dm_status_thin_pool
fn clone(&self) -> dm_status_thin_pool
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for dm_status_thin_pool
impl Debug for dm_status_thin_pool
impl Copy for dm_status_thin_pool
Auto Trait Implementations
impl RefUnwindSafe for dm_status_thin_pool
impl Send for dm_status_thin_pool
impl Sync for dm_status_thin_pool
impl Unpin for dm_status_thin_pool
impl UnwindSafe for dm_status_thin_pool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more