pub struct CopyStats {
pub files: usize,
pub dirs: usize,
pub symlinks: usize,
pub file_bytes: u64,
pub filtered_out: usize,
}Expand description
Counters of how many things were copied.
Fields
files: usizeThe number of plain files copied.
dirs: usizeThe number of directories copied.
symlinks: usizeThe number of symlinks copied.
file_bytes: u64The number of bytes of file content copied, across all files.
filtered_out: usizeThe number of entries filtered out by the CopyOptions::filter callback.
Trait Implementations
impl Eq for CopyStats
impl StructuralEq for CopyStats
impl StructuralPartialEq for CopyStats
Auto Trait Implementations
impl RefUnwindSafe for CopyStats
impl Send for CopyStats
impl Sync for CopyStats
impl Unpin for CopyStats
impl UnwindSafe for CopyStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more