#[repr(C)]
pub struct IWFS_FSM_OPTS { pub exfile: IWFS_EXT_OPTS, pub bmlen: size_t, pub hdrlen: u32, pub oflags: iwfs_fsm_openflags, pub mmap_opts: iwfs_ext_mmap_opts_t, pub bpow: u8, pub mmap_all: bool, }
Expand description

@brief IWFS_FSM file options. @see iwfs_fsmfile_open(IWFS_FSM *f, const IWFS_FSM_OPTS *opts)

Fields

exfile: IWFS_EXT_OPTSbmlen: size_t

< Initial size of free-space bitmap

hdrlen: u32

< Length of custom file header.

oflags: iwfs_fsm_openflags

< Operation mode flags

mmap_opts: iwfs_ext_mmap_opts_t

< Defaul mmap options used in add_mmap

bpow: u8

< Block size power for 2

mmap_all: bool

< Mmap all file data

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.