Struct redis::ConnectionInfo
[−]
[src]
pub struct ConnectionInfo { pub addr: Box<ConnectionAddr>, pub db: i64, pub passwd: Option<String>, }
Holds the connection information that redis should use for connecting.
Fields
addr | A boxed connection address for where to connect to. |
db | The database number to use. This is usually |
passwd | Optionally a password that should be used for connection. |
Trait Implementations
impl IntoConnectionInfo for ConnectionInfo
[src]
fn into_connection_info(self) -> RedisResult<ConnectionInfo>
Derived Implementations
impl Debug for ConnectionInfo
[src]
impl Clone for ConnectionInfo
[src]
fn clone(&self) -> ConnectionInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more