Crate maelstrom_fuse
source ·Expand description
This crate contains code to help implement the Linux FUSE API using async Rust.
The guts were adapted from the fuser crate and can be found in the fuser
module
Re-exports§
Modules§
- FUSE userspace library implementation
Structs§
- Response from a
FuseFileSystem::get_attr
request - Directory entry, used in
FuseFileSystem::read_dir
request - Response from a
FuseFileSystem::look_up
request - The handle returned by
fuse_mount_namespace
. It can be used make the child exit (thus removing the mount) also it provides a way to get the path to the mount (via/proc/
) - Passed to all the
FuseFileSystem
request functions and contains information about who is doing the request.
Enums§
Constants§
- The number of requests the [
DispatchingFs
] allow in-flight. When this limit is reached it will block the next FUSE request until an existing one finishes.
Traits§
- The Linux FUSE API as a trait for async Rust code.
Functions§
- Serve a FUSE connection using the provided handler and name. The FUSE connection will be mounted in a child process in its own namespace.
- Serve a FUSE connection using the provided handler and file-descriptor. The file-descriptor must have been obtained by opening
/dev/fuse
.
Type Aliases§
- Response from a
FuseFileSystem::read_link
request