Crate fuse3

Source
Expand description

FUSE user-space library async version implementation.

This is an improved rewrite of the FUSE user-space library to fully take advantage of Rust’s architecture.

This library doesn’t depend on libfuse, unless enable unprivileged feature, this feature will support mount the filesystem without root permission by using fusermount3 binary.

§Features:

  • file-lock: enable POSIX file lock feature.
  • async-io-runtime: use async_io and async-global-executor to drive async io and task.
  • tokio-runtime: use tokio runtime to drive async io and task.
  • unprivileged: allow mount filesystem without root permission by using fusermount3.

§Notes:

You must enable async-io-runtime or tokio-runtime feature.

Modules§

notify
notify kernel.
path
path based
raw
inode based

Structs§

Errno
linux errno wrap.
MountOptions
mount options.
SetAttr
the setattr argument.
Timestamp
A file’s timestamp, according to FUSE.

Enums§

FileType
File types

Functions§

mode_from_kind_and_perm
returns the mode for a given file kind and permission
perm_from_mode_and_kind
returns the permission for a given file kind and mode

Type Aliases§

Inode
Filesystem Inode.
Result
pre-defined Result, the Err type is Errno.