#[repr(C)]
pub struct IWFS_FILE_OPTS { pub path: *const c_char, pub omode: iwfs_omode, pub lock_mode: iwp_lockmode, pub filemode: c_int, pub dlsnr: *mut IWDLSNR, }
Expand description

@brief IWFS_FILE file options. @see iwrc iwfs_file_open(IWFS_FILE *f, const IWFS_FILE_OPTS *opts)

Fields

path: *const c_char

< Required file path.

omode: iwfs_omode

< File open mode.

lock_mode: iwp_lockmode

< File locking mode. */ int open(const char *pathname, int flags, mode_t mode)

filemode: c_intdlsnr: *mut IWDLSNR

< Optional data listener

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.