Expand description
This module provides the FileHandle
structure as well as the more specific RegularFile
and
Directory
structures. This module also provides the File
trait for opening, querying,
creating, reading, and writing files.
Usually a file system implementation will return a “root” directory, representing
/
on that volume. With that directory, it is possible to enumerate and open
all the other files on that volume.
Structs§
- A
FileHandle
that is also a directory. - File attributes.
- An opaque handle to some contiguous block of data on a volume.
- Generic file information
- System volume information
- System volume label
- A
FileHandle
that is also a regular (data) file.
Enums§
- Errors that can occur when creating a
FileProtocolInfo
- Usage flags describing what is possible to do with the file.
- Disambiguate the file type. Returned by
File::into_type()
.
Traits§
- Common interface to
FileHandle
,RegularFile
, andDirectory
. - Common trait for data structures that can be used with
File::set_info()
orFile::get_info()
. - Trait for going from an UEFI-originated pointer to a Rust reference