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

A boxed connection address for where to connect to.

The database number to use. This is usually 0.

Optionally a password that should be used for connection.

Trait Implementations

impl Clone for ConnectionInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConnectionInfo
[src]

Formats the value using the given formatter. Read more

impl IntoConnectionInfo for ConnectionInfo
[src]

Auto Trait Implementations