Expand description
Embeddable NFSv4.1 server library.
Provides a complete NFSv4.1 server implementation. Users implement the
FileSystem trait; the library handles the wire protocol, session
management, and serves it over TCP.
Structs§
- Access
Mask - Requested access bits for
ACCESS. - Attrs
- Exported object attributes.
- Create
Request - Create request for the core
createoperation. - Create
Result - Create result for the core
createoperation. - DirEntry
- Paged directory entry.
- DirPage
- Paged directory listing result.
- FsCapabilities
- High-level server capability flags.
- FsLimits
- Exported filesystem limits.
- FsStats
- Exported filesystem space and inode statistics.
- MemFs
- In-memory filesystem implementation used by tests and examples.
- NfsServer
- The NFS server.
- NfsServer
Builder - Builder for
NfsServer. - Numeric
IdMapper - Default id mapper that renders numeric ids directly.
- Read
Result - Read result for regular files and named attributes.
- Request
Context - Request context for a single NFS operation.
- SetAttrs
- Partial attribute update request.
- Timestamp
- Timestamp carried through exported attributes.
- Write
Result - Write result for the core
writeoperation.
Enums§
- Auth
Context - Caller authentication details.
- Create
Kind - Create kind for the core
createoperation. - FsError
- Backend error values surfaced through the NFS server.
- Object
Type - Exported object kind.
- SetTime
- Requested time update.
- Write
Stability - Write stability level reported by the backend.
- Xattr
SetMode - Controls how a named attribute should be written.
Traits§
- Commit
Support - Optional explicit commit support.
- File
System - Core filesystem trait implemented by embedders.
- Hard
Links - Optional hard-link support.
- IdMapper
- Maps numeric ids to NFS owner/group strings.
- Symlinks
- Optional symbolic-link support.
- Xattrs
- Optional named-attribute support.
Type Aliases§
- FsResult
- Result type used by filesystem backends.