Type Alias TcpConnectionPool

Source
pub type TcpConnectionPool = ConnectionPool<TcpStream, String, TcpConnectionCreator, TcpConnectionValidator>;

Aliased Type§

pub struct TcpConnectionPool { /* private fields */ }

Implementations§

Source§

impl TcpConnectionPool

Source

pub fn new_tcp( max_size: Option<usize>, max_idle_time: Option<Duration>, connection_timeout: Option<Duration>, cleanup_config: Option<CleanupConfig>, address: String, ) -> Arc<Self>