[][src]Struct fs_extra::TransitProcess

pub struct TransitProcess {
    pub copied_bytes: u64,
    pub total_bytes: u64,
    pub file_bytes_copied: u64,
    pub file_total_bytes: u64,
    pub file_name: String,
    pub dir_name: String,
    pub state: TransitState,
}

A structure which include information about the current status of the copy or move directory.

Fields

copied_bytes: u64

Copied bytes on this time for folder

total_bytes: u64

All the bytes which should to copy or move (dir size).

file_bytes_copied: u64

Copied bytes on this time for file.

file_total_bytes: u64

Size current copied file.

file_name: String

Name current copied file.

dir_name: String

Name current copied folder.

state: TransitState

Transit state

Trait Implementations

impl Clone for TransitProcess[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.