Module uefi::proto::media::file

source ·
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§

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, 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