Skip to main content

embednfs/
lib.rs

1//! Embeddable NFSv4.1 server library.
2//!
3//! Provides a complete NFSv4.1 server implementation. Users implement the
4//! [`NfsFileSystem`] trait; the library handles the wire protocol, session
5//! management, and serves it over TCP.
6
7pub(crate) mod attrs;
8pub(crate) mod fs;
9pub(crate) mod internal;
10pub(crate) mod memfs;
11pub(crate) mod server;
12pub(crate) mod session;
13
14pub use fs::{
15    DirEntry, FileId, FsInfo, NfsError, NfsFileSystem, NfsHardLinks, NfsNamedAttrs, NfsResult,
16    NfsSync, NfsSymlinks, NodeInfo, NodeKind, XattrSetMode,
17};
18pub use memfs::MemFs;
19pub use server::NfsServer;