usestd::path::Path;/// One directory creation with explicit Unix permission bits.
/// Construction performs no I/O and can borrow the path without allocating.
/// Parents must exist; submit independent siblings together with [`super::Vfsi::vmkdir`].
#[derive(Clone, Copy, Debug)]#[must_use="configuration and requests have no effect until used"]pubstructMkDirOp<P>{path: P,
mode:u32,
}impl<P:AsRef<Path>>MkDirOp<P>{/// Prepare a directory creation. The backend applies these permission bits
/// rather than relying on the process umask.
pubfnnew(path: P, mode:u32)->Self{Self{ path, mode }}/// Directory path in the filesystem's namespace.
pubfnpath(&self)->&Path{self.path.as_ref()}/// Requested Unix permission bits.
pubfnmode(&self)->u32{self.mode
}}