Enum uefi::proto::media::file::FileMode [−][src]
#[repr(u64)] pub enum FileMode { Read, ReadWrite, CreateReadWrite, }
Expand description
Usage flags describing what is possible to do with the file.
SAFETY: Using a repr(C) enum is safe here because this type is only sent to the UEFI implementation, and never received from it.
Variants
Expand description
The file can be read from
Expand description
The file can be read from and written to
Expand description
The file can be read, written, and will be created if it does not exist