[][src]Struct rusync::progress::Progress

pub struct Progress {
    pub current_file: String,
    pub file_done: usize,
    pub file_size: usize,
    pub total_done: usize,
    pub total_size: usize,
    pub index: usize,
    pub num_files: usize,
    pub eta: usize,
}

Fields

current_file: String

Name of the file being transferred

file_done: usize

Number of bytes transfered for the current file

file_size: usize

Size of the current file (in bytes)

total_done: usize

Number of bytes transfered since the start

total_size: usize

Estimated total size of the transfer (this may change during transfer)

index: usize

Index of the current file in the list of all files to transfer

num_files: usize

Total number of files to transfer

eta: usize

Estimated time remaining for the transfer, in seconds

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.