#[repr(C)]pub struct fuse_context {
pub fuse: *mut fuse,
pub uid: uid_t,
pub gid: gid_t,
pub pid: pid_t,
pub private_data: *mut c_void,
}Expand description
Extra context that may be needed by some filesystems
The uid, gid and pid fields are not filled in case of a writepage operation.
Fields§
§fuse: *mut fusePointer to the fuse object
uid: uid_tUser ID of the calling process
gid: gid_tGroup ID of the calling process
pid: pid_tThread ID of the calling process
private_data: *mut c_voidPrivate filesystem data
Trait Implementations§
Source§impl Clone for fuse_context
impl Clone for fuse_context
Source§fn clone(&self) -> fuse_context
fn clone(&self) -> fuse_context
Returns a duplicate 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 fuse_context
impl Debug for fuse_context
impl Copy for fuse_context
Auto Trait Implementations§
impl Freeze for fuse_context
impl RefUnwindSafe for fuse_context
impl !Send for fuse_context
impl !Sync for fuse_context
impl Unpin for fuse_context
impl UnwindSafe for fuse_context
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