#[non_exhaustive]pub enum CreateOutcome {
Plain,
CowCloned,
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Plain
The tool materialised the working copy itself.
CowCloned
A copy-on-write clone populated the working copy (consumer-supplied).
Trait Implementations§
Source§impl Clone for CreateOutcome
impl Clone for CreateOutcome
Source§fn clone(&self) -> CreateOutcome
fn clone(&self) -> CreateOutcome
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 CreateOutcome
Source§impl Debug for CreateOutcome
impl Debug for CreateOutcome
impl Eq for CreateOutcome
Source§impl PartialEq for CreateOutcome
impl PartialEq for CreateOutcome
Source§fn eq(&self, other: &CreateOutcome) -> bool
fn eq(&self, other: &CreateOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateOutcome
Auto Trait Implementations§
impl Freeze for CreateOutcome
impl RefUnwindSafe for CreateOutcome
impl Send for CreateOutcome
impl Sync for CreateOutcome
impl Unpin for CreateOutcome
impl UnsafeUnpin for CreateOutcome
impl UnwindSafe for CreateOutcome
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