Type Definition rsmc_tokio::Pool[][src]

type Pool<C> = Pool<TokioConnection, C>;

A pool of connections to memcached using tokio for async I/O and the desired compression scheme. Use this to create a connection pool. For example:

use rsmc_tokio::{Pool, ClientConfig};

let cfg = ClientConfig::new_uncompressed(vec!["localhost:11211".into()]);
let pool = Pool::new(cfg, 16);