Struct cdrs::cluster::NodeTcpConfig
source · pub struct NodeTcpConfig<'a, A> {
pub addr: &'a str,
pub authenticator: A,
pub max_size: u32,
pub min_idle: Option<u32>,
pub max_lifetime: Option<Duration>,
pub idle_timeout: Option<Duration>,
pub connection_timeout: Duration,
}
Expand description
Single node TCP connection config.
Fields§
§addr: &'a str
§authenticator: A
§max_size: u32
§min_idle: Option<u32>
§max_lifetime: Option<Duration>
§idle_timeout: Option<Duration>
§connection_timeout: Duration
Trait Implementations§
source§impl<'a, A: Clone> Clone for NodeTcpConfig<'a, A>
impl<'a, A: Clone> Clone for NodeTcpConfig<'a, A>
source§fn clone(&self) -> NodeTcpConfig<'a, A>
fn clone(&self) -> NodeTcpConfig<'a, A>
Returns a copy 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 more