Module fs

Source
Expand description

Filesystem abstractions.

Extends: std::{fs, path}




Structs§

DirBuilderstd
std A builder used to create directories in various manners.
DirEntrystd
std Entries returned by the ReadDir iterator.
Filestd
std An object providing access to an open file on the filesystem.
FileMetadatastd
std Metadata information about a file.
FileOpenOptionsstd
std Options and flags which can be used to configure how a file is opened.
FilePermissionsstd
std Representation of the various permissions on a file.
FileTimesstd
std Representation of the various timestamps on a file.
FileTypestd
std Represents a type of file with accessors for each file type.
Fsstd
🌐 Filesystem-related operations.
FsPathstd
🌐 A more featureful wrapper over PathBuf.
IterDirReadstd
🔄 std Iterator over the entries in a directory.
IterPathstd
🔄 std An iterator over the IterPathComponents of a Path, as OsStr slices.
IterPathAncestorsstd
🔄 std An iterator over Path and its ancestors.
IterPathComponentsstd
🔄 std An iterator over the Components of a Path.
Pathstd
std A slice of a path (akin to str).
PathBufstd
std An owned, mutable path (akin to String).
PathDisplaystd
std Helper struct for safely printing paths with format! and {}.
PathPrefixComponentstd
std Wraps a Windows path prefix as well as its unparsed string representation.
PathStripPrefixErrorstd
🚩 std An error returned from Path::strip_prefix if the prefix was not found.

Enums§

PathComponentstd
std A single component of a path.
PathPrefixstd
std Windows path prefixes, e.g., C: or \\server\share.

Traits§

ExtPathstd
🌐 Extension trait providing additional methods for Path and PathBuf.