Trait fuse_backend_rs::api::vfs::BackendFileSystem

source ·
pub trait BackendFileSystem: FileSystem {
    // Required method
    fn as_any(&self) -> &dyn Any;

    // Provided method
    fn mount(&self) -> Result<(Entry, u64)> { ... }
}
Expand description

BackendFileSystem abstracts all backend file systems under vfs

Required Methods§

source

fn as_any(&self) -> &dyn Any

Provides a reference to the Any trait. This is useful to let the caller have access to the underlying type behind the trait.

Provided Methods§

source

fn mount(&self) -> Result<(Entry, u64)>

mount returns the backend file system root inode entry and the largest inode number it has.

Implementors§