Expand description
FUSE userspace library implementation
This is an improved rewrite of the FUSE userspace library (lowlevel interface) to fully take advantage of Rust’s architecture. The only thing we rely on in the real libfuse are mount and unmount calls which are needed to establish a fd to talk to the kernel driver.
Modules§
Structs§
- Background
Session - The background session data structure
- File
Attr - File attributes
- Kernel
Config - Configuration of the fuse kernel module connection
- Reply
Attr - Attribute Reply
- Reply
Bmap - Bmap Reply
- Reply
Create - Create reply
- Reply
Data - Data reply
- Reply
Directory - Directory reply
- Reply
Directory Plus - DirectoryPlus reply
- Reply
Empty - Empty reply
- Reply
Entry - Entry reply
- Reply
Ioctl - Ioctl Reply
- Reply
Lock - Lock Reply
- Reply
Lseek - Lseek Reply
- Reply
Open - Open Reply
- Reply
Statfs - Statfs Reply
- Reply
Write - Write Reply
- Reply
Xattr - Xattr reply
- Request
- Request data structure
- Session
- The session data structure
- Session
Unmounter - A thread-safe object that can be used to unmount a Filesystem
Enums§
- File
Type - File types
- Mount
Option - Mount options accepted by the FUSE filesystem type See ‘man mount.fuse’ for details
- SessionACL
- How requests should be filtered based on the calling UID.
- Time
OrNow - Possible input arguments for atime & mtime, which can either be set to a specified time, or to the current time
Constants§
Traits§
- Filesystem
- Filesystem trait.
- Reply
- Generic reply trait
Functions§
- mount
Deprecated - Mount the given filesystem to the given mountpoint. This function will not return until the filesystem is unmounted.
- mount2
- Mount the given filesystem to the given mountpoint. This function will not return until the filesystem is unmounted.
- spawn_
mount Deprecated - Mount the given filesystem to the given mountpoint. This function spawns a background thread to handle filesystem operations while being mounted and therefore returns immediately. The returned handle should be stored to reference the mounted filesystem. If it’s dropped, the filesystem will be unmounted.
- spawn_
mount2 - Mount the given filesystem to the given mountpoint. This function spawns a background thread to handle filesystem operations while being mounted and therefore returns immediately. The returned handle should be stored to reference the mounted filesystem. If it’s dropped, the filesystem will be unmounted.