pub enum CreateAction {
Superseded,
Opened,
Created,
Overwritten,
}Expand description
Result of a create/open operation (FILE_* action codes).
Variants§
Superseded
Existing file was replaced (FILE_SUPERSEDED).
Opened
Existing file was opened (FILE_OPENED).
Created
New file was created (FILE_CREATED).
Overwritten
Existing file was overwritten (FILE_OVERWRITTEN).
Trait Implementations§
Source§impl Clone for CreateAction
impl Clone for CreateAction
Source§fn clone(&self) -> CreateAction
fn clone(&self) -> CreateAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CreateAction
Source§impl Debug for CreateAction
impl Debug for CreateAction
impl Eq for CreateAction
Source§impl PartialEq for CreateAction
impl PartialEq for CreateAction
Source§fn eq(&self, other: &CreateAction) -> bool
fn eq(&self, other: &CreateAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateAction
Auto Trait Implementations§
impl Freeze for CreateAction
impl RefUnwindSafe for CreateAction
impl Send for CreateAction
impl Sync for CreateAction
impl Unpin for CreateAction
impl UnsafeUnpin for CreateAction
impl UnwindSafe for CreateAction
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