#[repr(u32)]pub enum CreateFlags {
None = 0,
Trunc = 16,
Excl = 32,
}
Variants§
None = 0
Trunc = 16
Forces an existing file with the same name to be truncated to zero length when creating a file.
Excl = 32
Causes the request to fail if the named file already exists.
Trait Implementations§
Source§impl Clone for CreateFlags
impl Clone for CreateFlags
Source§fn clone(&self) -> CreateFlags
fn clone(&self) -> CreateFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateFlags
impl Debug for CreateFlags
impl Copy for CreateFlags
Auto Trait Implementations§
impl Freeze for CreateFlags
impl RefUnwindSafe for CreateFlags
impl Send for CreateFlags
impl Sync for CreateFlags
impl Unpin for CreateFlags
impl UnwindSafe for CreateFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)