pub struct RcpdConfig {Show 34 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 auto_meta: Option<AutoMetaThrottleConfig>,
pub auto_meta_histogram: bool,
pub auto_meta_histogram_log: Option<String>,
pub auto_meta_histogram_interval: Duration,
pub dereference: bool,
pub overwrite: bool,
pub overwrite_compare: String,
pub overwrite_filter: Option<String>,
pub ignore_existing: bool,
pub skip_specials: bool,
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§auto_meta: Option<AutoMetaThrottleConfig>Adaptive metadata-ops throttle settings, propagated from the
master’s --auto-meta-* flags. None means the feature is off on
this rcpd instance.
auto_meta_histogram: boolMirror of master’s –auto-meta-histogram flag.
auto_meta_histogram_log: Option<String>Mirror of master’s –auto-meta-histogram-log path. Each rcpd suffixes its own trace identifier so the master and rcpds don’t collide on a localhost run.
auto_meta_histogram_interval: DurationMirror of master’s –auto-meta-histogram-interval.
dereference: bool§overwrite: bool§overwrite_compare: String§overwrite_filter: Option<String>§ignore_existing: bool§skip_specials: bool§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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
Auto Trait Implementations§
impl Freeze for RcpdConfig
impl RefUnwindSafe for RcpdConfig
impl Send for RcpdConfig
impl Sync for RcpdConfig
impl Unpin for RcpdConfig
impl UnsafeUnpin 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
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