Skip to main content

nfs_mount/
lib.rs

1//! MOUNT protocol -- versions 1 and 3 (RFC 1094 Appendix A / RFC 1813 Appendix I).
2//!
3//! The MOUNT sideband service turns a directory path into the root file handle
4//! that every NFS operation starts from. It also negotiates authentication
5//! flavors (v3 only) and exposes the export list.
6//!
7//! This crate owns the wire types, the client, and the error type for both
8//! protocol versions. It depends only on `nfswolf-xdr` and `nfswolf-rpc`;
9//! the NFS version crates (`nfswolf-nfs2`, `nfswolf-nfs3`) depend on it,
10//! not the reverse.
11
12mod client;
13mod error;
14pub mod wire;
15
16pub use client::{MountClient, MountVersion, MountedHandle};
17pub use error::MountError;