///Create a new connection pool for `address`, with `connection_count` connections. All connections
///are created in this function, and depending on the amount of connections desired, can therefore
///take some time to complete. By default, connections will be created with the name `darkredis-n`,
///where n represents the connection number.
///# Panics
///Will panic if the number of connections is equal to zero.
Create a new connection pool for `address`, with `connection_count` connections. All connections
are created in this function, and depending on the amount of connections desired, can therefore
take some time to complete. By default, connections will be created with the name `darkredis-n`,
where n represents the connection number.
Create a new connection pool for ` address ` with ` connection_count ` connections . All connections are created in this function and depending on the amount of connections desired can therefore take some time to complete . By default connections will be created with the name ` darkredis - n ` where n represents the connection number .
pub async fn create(
        address: String,
        password: Option<&str>,
        connection_count: usize,
    ) -> Result<Self> {
        Self::create_with_name("darkredis", address, password, connection_count).await
    }
pub async fn create ( address : String , password : Option < & str > , connection_count : usize , ) -> Result < Self > { Self :: create_with_name ( " " , address , password , connection_count ) . await }
Create a new connection pool for `address`, with `connection_count` connections.
Create a new connection pool for ` address ` with ` connection_count ` connections .
address
String
password
Option<&str>
connection_count
usize
panics
Will panic if the number of connections is equal to zero.
Will panic if the number of connections is equal to zero .