#[repr(isize)]pub enum Flag {
Show 14 variants
RDONLY = 0,
WRONLY = 1,
RDWR = 2,
CREAT = 64,
EXCL = 128,
NOCTTY = 256,
TRUNC = 512,
APPEND = 1_024,
NONBLOCK = 2_048,
DSYNC = 4_096,
SYNC = 1_052_672,
DIRECTORY = 65_536,
NOFOLLOW = 131_072,
CLOEXEC = 524_288,
}Variants§
RDONLY = 0
WRONLY = 1
RDWR = 2
CREAT = 64
EXCL = 128
NOCTTY = 256
TRUNC = 512
APPEND = 1_024
NONBLOCK = 2_048
DSYNC = 4_096
SYNC = 1_052_672
DIRECTORY = 65_536
NOFOLLOW = 131_072
CLOEXEC = 524_288
Trait Implementations§
impl Copy for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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