[−][src]Struct libfuse_sys::fuse::fuse_module
Filesystem module
Filesystem modules are registered with the FUSE_REGISTER_MODULE() macro.
If the "-omodules=modname:..." option is present, filesystem objects are created and pushed onto the stack with the 'factory' function.
Fields
name: *const c_char
Name of filesystem
factory: Option<unsafe extern "C" fn(args: *mut fuse_args, fs: *mut *mut fuse_fs) -> *mut fuse_fs>
Factory for creating filesystem objects
The function may use and remove options from 'args' that belong to this module.
For now the 'fs' vector always contains exactly one filesystem. This is the filesystem which will be below the newly created filesystem in the stack.
@param args the command line arguments @param fs NULL terminated filesystem object vector @return the new filesystem object
next: *mut fuse_module
so: *mut fusemod_so
ctr: c_int
Trait Implementations
impl Clone for fuse_module
[src]
fn clone(&self) -> fuse_module
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for fuse_module
[src]
impl Debug for fuse_module
[src]
impl Default for fuse_module
[src]
Auto Trait Implementations
impl RefUnwindSafe for fuse_module
impl !Send for fuse_module
impl !Sync for fuse_module
impl Unpin for fuse_module
impl UnwindSafe for fuse_module
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,