pub struct Settings {Show 14 fields
pub reflink: ReflinkMode,
pub local_copy_handoff: LocalCopyHandoff,
pub dereference: bool,
pub fail_early: bool,
pub overwrite: bool,
pub overwrite_compare: MetadataCmpSettings,
pub overwrite_filter: Option<OverwriteFilter>,
pub ignore_existing: bool,
pub chunk_size: u64,
pub skip_specials: bool,
pub remote_copy_buffer_size: usize,
pub filter: Option<FilterSettings>,
pub dry_run: Option<DryRunMode>,
pub delete: Option<DeleteSettings>,
}Fields§
§reflink: ReflinkModeReflink policy for local file data copies.
local_copy_handoff: LocalCopyHandoffLocal create-to-copy scheduling policy; defaults to separate jobs.
dereference: bool§fail_early: bool§overwrite: bool§overwrite_compare: MetadataCmpSettings§overwrite_filter: Option<OverwriteFilter>§ignore_existing: bool§chunk_size: u64§skip_specials: boolSkip special files (sockets, FIFOs, devices) without error.
remote_copy_buffer_size: usizeMaximum remote transfer buffer and file I/O request size in bytes.
Source buffer size, destination Tokio file I/O limits, and receiver scratch requests are capped to the file size and isize::MAX, with a one-byte minimum. These bounds ensure representability, not allocation success or an available-memory budget. Individual operations can be shorter. Destination internal and outer buffers can coexist; previously retained receiver scratch follows its independent retention limit.
filter: Option<FilterSettings>filter settings for include/exclude patterns
dry_run: Option<DryRunMode>dry-run mode for previewing operations
delete: Option<DeleteSettings>rsync-style --delete settings; None disables deletion entirely.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Settings
impl Freeze for Settings
impl Move for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request