Struct fuse_backend_rs::api::vfs::Vfs[][src]

pub struct Vfs<D> { /* fields omitted */ }
Expand description

A union fs that combines multiple backend file systems.

Implementations

Create a new vfs instance

For sake of live-upgrade, only after negotiation is done, it’s safe to persist state of vfs.

Mount a backend file system to path

Umount a backend file system at path

Get the mounted backend file system alongside the path if there’s one.

Trait Implementations

Returns the “default value” for a type. Read more

Represents a location in the filesystem tree and can be used to perform operations that act on the metadata of a file/directory (e.g., getattr and setattr). Can also be used as the starting point for looking up paths in the filesystem tree. An Inode may support operating directly on the content of the path that to which it points. FileSystem implementations that support this should set the FsOptions::ZERO_MESSAGE_OPEN option in the return value of the init function. On linux based systems, an Inode is equivalent to opening a file or directory with the libc::O_PATH flag. Read more

Represents a file or directory that is open for reading/writing.

Initialize the file system. Read more

Clean up the file system. Read more

Look up a directory entry by name and get its attributes. Read more

Forget about an inode. Read more

Get attributes for a file / directory. Read more

Set attributes for a file / directory. Read more

Read a symbolic link.

Create a symbolic link. Read more

Create a file node. Read more

Create a directory. Read more

Remove a file. Read more

Remove a directory. Read more

Rename a file / directory. Read more

Create a hard link. Read more

Open a file. Read more

Create and open a file. Read more

Read data from a file. Read more

Write data to a file. Read more

Flush the contents of a file. Read more

Synchronize file contents. Read more

Allocate requested space for file data. Read more

Release an open file. Read more

Get information about the file system.

Set an extended attribute. Read more

Get an extended attribute. Read more

List extended attribute names. Read more

Remove an extended attribute. Read more

Open a directory for reading. Read more

Read a directory. Read more

Read a directory with entry attributes. Read more

Synchronize the contents of a directory. Read more

Release an open directory. Read more

Check file access permissions. Read more

Forget about multiple inodes. Read more

Reposition read/write file offset.

TODO: support this

TODO: support this

TODO: support this

TODO: support this

TODO: support this

TODO: support this

TODO: support this

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.