[][src]Trait redis::IntoConnectionInfo

pub trait IntoConnectionInfo {
    pub fn into_connection_info(self) -> RedisResult<ConnectionInfo>;
}

Converts an object into a connection info struct. This allows the constructor of the client to accept connection information in a range of different formats.

Required methods

pub fn into_connection_info(self) -> RedisResult<ConnectionInfo>[src]

Converts the object into a connection info object.

Loading content...

Implementations on Foreign Types

impl<'a> IntoConnectionInfo for &'a str[src]

impl<T> IntoConnectionInfo for (T, u16) where
    T: Into<String>, 
[src]

impl IntoConnectionInfo for String[src]

impl IntoConnectionInfo for Url[src]

Loading content...

Implementors

impl IntoConnectionInfo for ConnectionInfo[src]

Loading content...