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.
Attributes describing the properties of a file on the file system.
An opaque handle to some contiguous block of data on a volume.
Header for generic file information
Header for system volume information
Header for system volume label information
Dynamically sized FileProtocolInfo
with a header and an UCS-2 name
A FileHandle
that is also a regular (data) file.
Enums
Usage flags describing what is possible to do with the file.
Disambiguates the file type. Returned by File::into_type()
.
Traits
Common interface to FileHandle
, RegularFile
, and Directory
.
Common trait for data structures that can be used with
File::set_info()
or File::get_info()
.
Trait for going from an UEFI-originated pointer to a Rust reference
Type Definitions
Generic file information
System volume information
System volume label