Function memcache::connect[][src]

pub fn connect<C: Connectable>(target: C) -> Result<Client, MemcacheError>
Expand description

Create a memcached client instance and connect to memcached server.

Example:

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