Expand description
Macros§
- path
- Creates a path from a string without a trailing null.
- path_
buf - Creates an owned path from a string without a trailing null.
Structs§
- Ancestors
- Iterator over the ancestors of a Path
- Attribute
- Custom user attribute that can be set on files and directories.
- DirEntry
- Error
- The error type for filesystem operations.
- File
Open Flags - Definition of file open flags which can be mixed and matched as appropriate. These definitions are reminiscent of the ones defined by POSIX.
- Iter
- Iterator over the components of a Path
- Metadata
- File type (regular vs directory) and size of a file.
- Path
- A path
- PathBuf
- An owned, mutable path
Enums§
- File
Type - Regular file vs directory
- Open
Seek From - Enumeration of possible methods to seek within an file that was just opened
Used in the
read_chunkandwrite_chunkmethods, WhereSeekFrom::Currentwould not make sense. - Path
Error - Errors that arise from converting byte buffers into paths
- Seek
From - Enumeration of possible methods to seek within an I/O object.
Traits§
- DynFile
- Object-safe trait for files.
- DynFilesystem
- Object-safe trait for filesystems.
- Read
- The
Readtrait allows for reading bytes from a file. - Seek
- The
Seektrait provides a cursor which can be moved within a file. - Vec
- Write
- The
Writetrait allows for writing bytes to a file.