[][src]Trait trezm_redis::IntoConnectionInfo

pub trait IntoConnectionInfo {
    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

fn into_connection_info(self) -> RedisResult<ConnectionInfo>

Converts the object into a connection info object.

Loading content...

Implementations on Foreign Types

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

impl IntoConnectionInfo for String[src]

impl IntoConnectionInfo for Url[src]

Loading content...

Implementors

Loading content...