[][src]Struct trezm_redis::ConnectionInfo

pub struct ConnectionInfo {
    pub addr: Box<ConnectionAddr>,
    pub db: i64,
    pub passwd: Option<String>,

Holds the connection information that redis should use for connecting.


addr: Box<ConnectionAddr>

A boxed connection address for where to connect to.

db: i64

The database number to use. This is usually 0.

passwd: Option<String>

Optionally a password that should be used for connection.

Trait Implementations

impl Clone for ConnectionInfo[src]

impl Debug for ConnectionInfo[src]

impl IntoConnectionInfo for ConnectionInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,