Skip to main content

Crate embednfs

Crate embednfs 

Source
Expand description

Embeddable NFSv4.1 server library.

Provides a complete NFSv4.1 server implementation. Users implement the NfsFileSystem trait; the library handles the wire protocol, session management, and serves it over TCP.

Structs§

DirEntry
A directory entry returned by readdir.
FsInfo
Filesystem-level information.
MemFs
An in-memory filesystem.
NfsServer
The NFS server.
NodeInfo
Minimal node information required from a filesystem implementation.

Enums§

NfsError
NFS error type.
NodeKind
Basic node kinds required by the core filesystem trait.
XattrSetMode
Controls how a named attribute should be written.

Traits§

NfsFileSystem
The core filesystem trait.
NfsHardLinks
Optional hard-link support.
NfsNamedAttrs
Optional named-attribute support used for Apple/macOS xattr flows.
NfsSymlinks
Optional symlink support.
NfsSync
Optional flush/commit support.

Type Aliases§

FileId
Unique file identifier (inode number equivalent).
NfsResult