pub struct CopyBuilder { /* private fields */ }Implementations§
Source§impl CopyBuilder
impl CopyBuilder
pub fn overwrite(self, overwrite: bool) -> Self
Sourcepub fn allow_filesystem_integrity_risk(self, allow: bool) -> Self
pub fn allow_filesystem_integrity_risk(self, allow: bool) -> Self
Proceed even when the destination filesystem has a known
write-integrity risk on this platform (currently: exFAT on
macOS) — without this, .start()’s Handle resolves to
Err(Error::FilesystemIntegrityRisk) before any data is written.
See docs/guide/filesystem-safety.md.
pub fn small_file_threshold(self, bytes: u64) -> Self
pub fn max_bytes_per_batch(self, bytes: u64) -> Self
pub fn max_files_per_batch(self, n: usize) -> Self
pub fn batch_sort_order(self, order: SortOrder) -> Self
pub fn on_error(self, strategy: ErrorStrategy) -> Self
pub fn batch_concurrency(self, n: usize) -> Self
pub fn start(self) -> Result<Handle<OperationOutcome>>
Auto Trait Implementations§
impl Freeze for CopyBuilder
impl RefUnwindSafe for CopyBuilder
impl Send for CopyBuilder
impl Sync for CopyBuilder
impl Unpin for CopyBuilder
impl UnsafeUnpin for CopyBuilder
impl UnwindSafe for CopyBuilder
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