pub fn new<A: ToSocketAddrs>(servers: A) -> Result<Self, crate::Error> {
        let servers = servers.to_socket_addrs()?.collect();
        // TODO Check for zero servers.
        Ok(Self {
            servers,

            ..Default::default()
        })
    }
/// Creates a new Client bound to the specific servers.
// TODO Document how it fails.
Creates a new Client bound to the specific servers.
TODO Document how it fails.
Creates a new Client bound to the specific servers . TODO Document how it fails .
pub fn new<A: ToSocketAddrs>(servers: A) -> Result<Self, crate::Error> {
        let servers = servers.to_socket_addrs()?.collect();
        // TODO Check for zero servers.
        Ok(Self {
            servers,
            ..Default::default()
        })
    }
pub fn new < A : ToSocketAddrs > ( servers : A ) -> Result < Self , crate :: Error > { let servers = servers . to_socket_addrs ( ) ? . collect ( ) ; // TODO Check for zero servers. Ok ( Self { servers , .. Default :: default ( ) } ) }
Creates a new Client bound to the specific servers.
Creates a new Client bound to the specific servers .
servers
A