pub struct Options {
pub overwrite: Overwrite,
pub buffer_size: usize,
}Expand description
Fields§
§overwrite: OverwritePer-entry destination conflict policy. Default: Overwrite::Error.
buffer_size: usizeCopy buffer size hint for the progress variants, in bytes.
Default: 64 * 1024. A value of zero is treated as one.
Values above isize::MAX return InvalidInput from all copy and move
functions before any filesystem access.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more