[][src]Function memcached::connect

pub fn connect(url: &str) -> Result<Client>

Create a memcached client instance and connect to memcached server. The default connection pool has only one connection.

Example

let client = memcached::connect("memcache://127.0.0.1:12345").unwrap();