[−][src]Struct rusync::sync::Stats
Fields
num_files: u64
Number of files in the source
total_size: usize
Sum of the sizes of all the files in the source
total_transfered: u64
Sum of the sizes of all the files that were synced
num_synced: u64
Number of files transfered (should match num_files
if no error)
up_to_date: u64
Number of files for which the copy was skipped
copied: u64
Number of files that were copied
errors: u64
Number of errors
symlink_created: u64
Number of symlink created in the destination folder
symlink_updated: u64
Number of symlinks updated in the destination folder
duration: Duration
Duration of the transfer
Implementations
impl Stats
[src]
pub fn new() -> Stats
[src]
pub fn start(&mut self)
[src]
pub fn stop(&mut self)
[src]
pub fn duration(&self) -> Duration
[src]
pub fn add_error(&mut self)
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stats
[src]
impl Send for Stats
[src]
impl Sync for Stats
[src]
impl Unpin for Stats
[src]
impl UnwindSafe for Stats
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,