pub struct RcpdConfig {Show 19 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 quic_port_ranges: Option<String>,
pub quic_idle_timeout_sec: u64,
pub quic_keep_alive_interval_sec: u64,
pub progress: bool,
pub progress_delay: Option<String>,
pub remote_copy_conn_timeout_sec: u64,
pub master_cert_fingerprint: Vec<u8>,
}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>§quic_port_ranges: Option<String>§quic_idle_timeout_sec: u64§quic_keep_alive_interval_sec: u64§progress: bool§progress_delay: Option<String>§remote_copy_conn_timeout_sec: u64§master_cert_fingerprint: Vec<u8>SHA-256 fingerprint of the Master’s TLS certificate (32 bytes) Used for certificate pinning when rcpd connects to Master
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