Trait redis_swapplex::ConnectionInfo [−][src]
pub trait ConnectionInfo: Send + Sync + 'static + Sized {
fn new(client: RedisResult<Client>, db_index: i64) -> Self;
fn get_db(&self) -> i64;
fn client<'a>(&'a self) -> &'a RedisResult<Client>;
fn parse_index(url: &Url) -> Option<i64> { ... }
fn from_url(url: &Url) -> Self { ... }
}