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
The file can be read from
The file can be read from and written to
The file can be read, written, and will be created if it does not exist