pub enum CreateDefaultOutcome {
Created,
AlreadyExists,
}Expand description
Outcome of calling create_default() on a file type
Variants§
Trait Implementations§
Source§impl Clone for CreateDefaultOutcome
impl Clone for CreateDefaultOutcome
Source§fn clone(&self) -> CreateDefaultOutcome
fn clone(&self) -> CreateDefaultOutcome
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 CreateDefaultOutcome
Source§impl Debug for CreateDefaultOutcome
impl Debug for CreateDefaultOutcome
impl Eq for CreateDefaultOutcome
Source§impl PartialEq for CreateDefaultOutcome
impl PartialEq for CreateDefaultOutcome
Source§fn eq(&self, other: &CreateDefaultOutcome) -> bool
fn eq(&self, other: &CreateDefaultOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDefaultOutcome
Auto Trait Implementations§
impl Freeze for CreateDefaultOutcome
impl RefUnwindSafe for CreateDefaultOutcome
impl Send for CreateDefaultOutcome
impl Sync for CreateDefaultOutcome
impl Unpin for CreateDefaultOutcome
impl UnsafeUnpin for CreateDefaultOutcome
impl UnwindSafe for CreateDefaultOutcome
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