pub enum FileCopyFinished {
Created {
bytes_copied: u64,
},
Overwritten {
bytes_copied: u64,
},
Skipped,
}Expand description
Results of a successful file copy operation.
Returned from: copy_file and copy_file_with_progress.
Variants§
Created
The destination file did not exist prior to the operation. The file was freshly created and written to.
Overwritten
The destination file already existed, and was overwritten by the copy operation.
Skipped
The destination file already existed, and the copy operation was skipped.
This can only be returned when existing destination file behaviour
is set to CollidingFileBehaviour::Skip.
Trait Implementations§
Source§impl Clone for FileCopyFinished
impl Clone for FileCopyFinished
Source§fn clone(&self) -> FileCopyFinished
fn clone(&self) -> FileCopyFinished
Returns a duplicate 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 FileCopyFinished
impl Debug for FileCopyFinished
Source§impl PartialEq for FileCopyFinished
impl PartialEq for FileCopyFinished
impl Copy for FileCopyFinished
impl Eq for FileCopyFinished
impl StructuralPartialEq for FileCopyFinished
Auto Trait Implementations§
impl Freeze for FileCopyFinished
impl RefUnwindSafe for FileCopyFinished
impl Send for FileCopyFinished
impl Sync for FileCopyFinished
impl Unpin for FileCopyFinished
impl UnwindSafe for FileCopyFinished
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