pub struct CompiledReverseClientConfig {Show 13 fields
pub id: String,
pub server_addr: SocketAddr,
pub server_chain: Option<ProxyChainSpec>,
pub auth_username: Option<String>,
pub auth_password: Option<String>,
pub reconnect_initial_ms: u64,
pub reconnect_max_ms: u64,
pub default_target_host: Option<String>,
pub default_target_port: Option<u16>,
pub read_timeout_ms: u64,
pub drain_grace_ms: u64,
pub parallel_connections: u32,
pub pproxy_compat: bool,
}Expand description
Compiled reverse client configuration with resolved defaults and parsed addresses.
Fields§
§id: String§server_addr: SocketAddr§server_chain: Option<ProxyChainSpec>§auth_username: Option<String>§auth_password: Option<String>§reconnect_initial_ms: u64§reconnect_max_ms: u64§default_target_host: Option<String>§default_target_port: Option<u16>§read_timeout_ms: u64§drain_grace_ms: u64§parallel_connections: u32§pproxy_compat: boolTrait Implementations§
Source§impl Clone for CompiledReverseClientConfig
impl Clone for CompiledReverseClientConfig
Source§fn clone(&self) -> CompiledReverseClientConfig
fn clone(&self) -> CompiledReverseClientConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompiledReverseClientConfig
impl RefUnwindSafe for CompiledReverseClientConfig
impl Send for CompiledReverseClientConfig
impl Sync for CompiledReverseClientConfig
impl Unpin for CompiledReverseClientConfig
impl UnsafeUnpin for CompiledReverseClientConfig
impl UnwindSafe for CompiledReverseClientConfig
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