#[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

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.