Module fs

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.