[][src]Struct libfuse_sys::fuse::fuse_file_info

#[repr(C)]pub struct fuse_file_info {
    pub flags: c_int,
    pub fh_old: c_ulong,
    pub writepage: c_int,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
    pub fh: u64,
    pub lock_owner: u64,
}

Information about open files

Changed in version 2.5

Fields

flags: c_int

Open flags. Available in open() and release()

fh_old: c_ulong

Old file handle, don't use

writepage: c_int

In case of a write operation indicates if this was caused by a writepage

_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>fh: u64

File handle. May be filled in by filesystem in open(). Available in all other file operations

lock_owner: u64

Lock owner id. Available in locking operations and flush

Implementations

impl fuse_file_info[src]

pub fn direct_io(&self) -> c_uint[src]

pub fn set_direct_io(&mut self, val: c_uint)[src]

pub fn keep_cache(&self) -> c_uint[src]

pub fn set_keep_cache(&mut self, val: c_uint)[src]

pub fn flush(&self) -> c_uint[src]

pub fn set_flush(&mut self, val: c_uint)[src]

pub fn nonseekable(&self) -> c_uint[src]

pub fn set_nonseekable(&mut self, val: c_uint)[src]

pub fn flock_release(&self) -> c_uint[src]

pub fn set_flock_release(&mut self, val: c_uint)[src]

pub fn padding(&self) -> c_uint[src]

pub fn set_padding(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    direct_io: c_uint,
    keep_cache: c_uint,
    flush: c_uint,
    nonseekable: c_uint,
    flock_release: c_uint,
    padding: c_uint
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Default for fuse_file_info[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.