#[non_exhaustive]pub enum CloneOutcome {
Cloned,
Overwritten,
Skipped,
}Expand description
What clone_entry did with the destination. New outcomes can be added.
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.
Cloned
The destination did not exist and was created.
Overwritten
The destination held different content and was replaced.
Skipped
The destination already held the same content. Nothing changed.
Trait Implementations§
Source§impl Clone for CloneOutcome
impl Clone for CloneOutcome
impl Copy for CloneOutcome
Source§impl Debug for CloneOutcome
impl Debug for CloneOutcome
impl Eq for CloneOutcome
Source§impl PartialEq for CloneOutcome
impl PartialEq for CloneOutcome
impl StructuralPartialEq for CloneOutcome
Auto Trait Implementations§
impl Freeze for CloneOutcome
impl RefUnwindSafe for CloneOutcome
impl Send for CloneOutcome
impl Sync for CloneOutcome
impl Unpin for CloneOutcome
impl UnsafeUnpin for CloneOutcome
impl UnwindSafe for CloneOutcome
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