#[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_int§dlsnr: *mut IWDLSNR< Optional data listener
Trait Implementations§
Source§impl Clone for IWFS_FILE_OPTS
impl Clone for IWFS_FILE_OPTS
Source§fn clone(&self) -> IWFS_FILE_OPTS
fn clone(&self) -> IWFS_FILE_OPTS
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_FILE_OPTS
impl Debug for IWFS_FILE_OPTS
impl Copy for IWFS_FILE_OPTS
Auto Trait Implementations§
impl Freeze for IWFS_FILE_OPTS
impl RefUnwindSafe for IWFS_FILE_OPTS
impl !Send for IWFS_FILE_OPTS
impl !Sync for IWFS_FILE_OPTS
impl Unpin for IWFS_FILE_OPTS
impl UnwindSafe for IWFS_FILE_OPTS
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