pub struct Settings {
pub dereference: bool,
pub fail_early: bool,
pub overwrite: bool,
pub overwrite_compare: MetadataCmpSettings,
pub chunk_size: u64,
pub remote_copy_buffer_size: usize,
pub filter: Option<FilterSettings>,
pub dry_run: Option<DryRunMode>,
}Fields§
§dereference: bool§fail_early: bool§overwrite: bool§overwrite_compare: MetadataCmpSettings§chunk_size: u64§remote_copy_buffer_size: usizeBuffer size for remote copy file transfer operations in bytes.
This is only used for remote copy operations and controls the buffer size when copying data between files and network streams. The actual buffer is capped to the file size to avoid over-allocation for small files.
filter: Option<FilterSettings>filter settings for include/exclude patterns
dry_run: Option<DryRunMode>dry-run mode for previewing operations
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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
Mutably borrows from an owned value. Read more
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>
Wrap the input message
T in a tonic::Request