pub struct Stats {
    pub num_files: u64,
    pub total_size: usize,
    pub total_transfered: u64,
    pub num_synced: u64,
    pub up_to_date: u64,
    pub copied: u64,
    pub errors: u64,
    pub symlink_created: u64,
    pub symlink_updated: u64,
    pub duration: Duration,
    /* private fields */
}

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

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.