[][src]Crate fuse3

FUSE user-space library async version implementation.

This is an improved rewrite of the FUSE user-space library (low-level interface) 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.

Features;

  • file-lock: enable POSIX file lock feature.
  • async-std-runtime: use async_std runtime.
  • tokio-runtime: use tokio runtime.
  • unprivileged: allow mount filesystem without root permission by using fusermount3.

Notes:

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

Modules

prelude
reply

reply structures.

Structs

Errno

a linux errno wrap.

FileAttr

file attributes

MountOptions

mount options.

Request

Request data

SetAttr

the setattr argument.

Enums

FileType

File types

Traits

Filesystem

Filesystem trait.

Functions

mount

mount the filesystem. This function will block until the filesystem is unmounted.

mount_with_unprivileged

mount the filesystem without root permission. This function will block until the filesystem is unmounted.

perm_from_mode_and_kind

returns the permission for a given file kind and mode

Type Definitions

Result

pre-defined Result, the Err type is Errno.

Attribute Macros

async_trait