Struct fs_extra::file::CopyOptions
source · [−]Expand description
Options and flags which can be used to configure how a file will be copied or moved.
Fields
overwrite: bool
Sets the option true for overwrite existing files.
skip_exist: bool
Sets the option true for skipe existing files.
buffer_size: usize
Sets buffer size for copy/move work only with receipt information about process work.
Implementations
sourceimpl CopyOptions
impl CopyOptions
sourcepub fn new() -> CopyOptions
pub fn new() -> CopyOptions
Initialize struct CopyOptions with default value.
ⓘ
overwrite: false
skip_exist: false
buffer_size: 64000 //64kb
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CopyOptions
impl Send for CopyOptions
impl Sync for CopyOptions
impl Unpin for CopyOptions
impl UnwindSafe for CopyOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more