Struct fs_extra::file::CopyOptions [] [src]

pub struct CopyOptions {
    pub overwrite: bool,
    pub skip_exist: bool,
    pub buffer_size: usize,
}

Options and flags which can be used to configure how a file will be copied or moved.

Fields

Sets the option true for overwrite existing files.

Sets the option true for skipe existing files.

Sets buffer size for copy/move work only with receipt information about process work.

Methods

impl CopyOptions
[src]

[src]

Initialize struct CopyOptions with default value.

Be careful when using this code, it's not being tested!
overwrite: false

skip_exist: false

buffer_size: 64000 //64kb