#[repr(u64)]pub enum FileMode {
Read = 1,
ReadWrite = 3,
CreateReadWrite = 9_223_372_036_854_775_811,
}
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§
Read = 1
The file can be read from
ReadWrite = 3
The file can be read from and written to
CreateReadWrite = 9_223_372_036_854_775_811
The file can be read, written, and will be created if it does not exist
Trait Implementations§
source§impl PartialEq for FileMode
impl PartialEq for FileMode
impl Copy for FileMode
impl Eq for FileMode
impl StructuralPartialEq for FileMode
Auto Trait Implementations§
impl Freeze for FileMode
impl RefUnwindSafe for FileMode
impl Send for FileMode
impl Sync for FileMode
impl Unpin for FileMode
impl UnwindSafe for FileMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more