pub struct RcpdConfig {Show 27 fields
pub verbose: u8,
pub fail_early: bool,
pub max_workers: usize,
pub max_blocking_threads: usize,
pub max_open_files: Option<usize>,
pub ops_throttle: usize,
pub iops_throttle: usize,
pub chunk_size: usize,
pub dereference: bool,
pub overwrite: bool,
pub overwrite_compare: String,
pub debug_log_prefix: Option<String>,
pub port_ranges: Option<String>,
pub progress: bool,
pub progress_delay: Option<String>,
pub remote_copy_conn_timeout_sec: u64,
pub network_profile: NetworkProfile,
pub buffer_size: Option<usize>,
pub max_connections: usize,
pub pending_writes_multiplier: usize,
pub chrome_trace_prefix: Option<String>,
pub flamegraph_prefix: Option<String>,
pub profile_level: Option<String>,
pub tokio_console: bool,
pub tokio_console_port: Option<u16>,
pub encryption: bool,
pub master_cert_fingerprint: Option<CertFingerprint>,
}Fields§
§verbose: u8§fail_early: bool§max_workers: usize§max_blocking_threads: usize§max_open_files: Option<usize>§ops_throttle: usize§iops_throttle: usize§chunk_size: usize§dereference: bool§overwrite: bool§overwrite_compare: String§debug_log_prefix: Option<String>§port_ranges: Option<String>Port ranges for TCP connections (e.g., “8000-8999,9000-9999”)
progress: bool§progress_delay: Option<String>§remote_copy_conn_timeout_sec: u64§network_profile: NetworkProfileNetwork profile for buffer sizing
buffer_size: Option<usize>Buffer size for file transfers (defaults to profile-specific value)
max_connections: usizeMaximum concurrent connections in the pool
pending_writes_multiplier: usizeMultiplier for pending file writes (max pending = max_connections × multiplier)
chrome_trace_prefix: Option<String>Chrome trace output prefix for profiling
flamegraph_prefix: Option<String>Flamegraph output prefix for profiling
profile_level: Option<String>Log level for profiling (default: trace when profiling is enabled)
tokio_console: boolEnable tokio-console
tokio_console_port: Option<u16>Port for tokio-console server
encryption: boolEnable TLS encryption (default: true)
master_cert_fingerprint: Option<CertFingerprint>Master’s certificate fingerprint for client authentication (when encryption enabled)
Implementations§
Trait Implementations§
Source§impl Clone for RcpdConfig
impl Clone for RcpdConfig
Source§fn clone(&self) -> RcpdConfig
fn clone(&self) -> RcpdConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RcpdConfig
impl Debug for RcpdConfig
Source§impl<'de> Deserialize<'de> for RcpdConfig
impl<'de> Deserialize<'de> for RcpdConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RcpdConfig
impl RefUnwindSafe for RcpdConfig
impl Send for RcpdConfig
impl Sync for RcpdConfig
impl Unpin for RcpdConfig
impl UnwindSafe for RcpdConfig
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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