#[repr(C)]pub struct fuse_file_info {
pub flags: c_int,
pub fh_old: c_ulong,
pub writepage: c_int,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub fh: u64,
pub lock_owner: u64,
}Expand description
Information about open files
Changed in version 2.5
Fields§
§flags: c_intOpen flags. Available in open() and release()
fh_old: c_ulongOld file handle, don’t use
writepage: c_intIn case of a write operation indicates if this was caused by a writepage
_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§fh: u64File handle. May be filled in by filesystem in open(). Available in all other file operations
lock_owner: u64Lock owner id. Available in locking operations and flush
Implementations§
Source§impl fuse_file_info
impl fuse_file_info
pub fn direct_io(&self) -> c_uint
pub fn set_direct_io(&mut self, val: c_uint)
pub fn keep_cache(&self) -> c_uint
pub fn set_keep_cache(&mut self, val: c_uint)
pub fn flush(&self) -> c_uint
pub fn set_flush(&mut self, val: c_uint)
pub fn nonseekable(&self) -> c_uint
pub fn set_nonseekable(&mut self, val: c_uint)
pub fn flock_release(&self) -> c_uint
pub fn set_flock_release(&mut self, val: c_uint)
pub fn padding(&self) -> c_uint
pub fn set_padding(&mut self, val: c_uint)
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]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for fuse_file_info
impl RefUnwindSafe for fuse_file_info
impl Send for fuse_file_info
impl Sync for fuse_file_info
impl Unpin for fuse_file_info
impl UnwindSafe for fuse_file_info
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