#[repr(C)]pub struct IWFS_FSM_STATE {
pub exfile: IWFS_EXT_STATE,
pub block_size: size_t,
pub oflags: iwfs_fsm_openflags,
pub hdrlen: u32,
pub blocks_num: u64,
pub free_segments_num: u64,
pub avg_alloc_size: double_t,
pub alloc_dispersion: double_t,
}Expand description
@brief IWFS_FSM file state container.
@see IWFS_FSM::state
Fields§
§exfile: IWFS_EXT_STATE< File pool state
block_size: size_t< Size of data block in bytes.
oflags: iwfs_fsm_openflags< Operation mode flags.
hdrlen: u32< Length of custom file header length in bytes
blocks_num: u64< Number of available data blocks.
free_segments_num: u64< Number of free (deallocated) continuous data segments.
avg_alloc_size: double_t< Average allocation number of blocks
alloc_dispersion: double_t< Average allocation blocks dispersion
Trait Implementations§
Source§impl Clone for IWFS_FSM_STATE
impl Clone for IWFS_FSM_STATE
Source§fn clone(&self) -> IWFS_FSM_STATE
fn clone(&self) -> IWFS_FSM_STATE
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IWFS_FSM_STATE
impl Debug for IWFS_FSM_STATE
impl Copy for IWFS_FSM_STATE
Auto Trait Implementations§
impl Freeze for IWFS_FSM_STATE
impl RefUnwindSafe for IWFS_FSM_STATE
impl !Send for IWFS_FSM_STATE
impl !Sync for IWFS_FSM_STATE
impl Unpin for IWFS_FSM_STATE
impl UnwindSafe for IWFS_FSM_STATE
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more