[]Trait redis_actor::bb8_redis::redis::IntoConnectionInfo

pub trait IntoConnectionInfo {
    pub fn into_connection_info(self) -> Result<ConnectionInfo, RedisError>;
}

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) -> Result<ConnectionInfo, RedisError>

Converts the object into a connection info object.

Loading content...

Implementations on Foreign Types

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

impl IntoConnectionInfo for Url

impl<'a> IntoConnectionInfo for &'a str

impl IntoConnectionInfo for String

Loading content...

Implementors

impl IntoConnectionInfo for ConnectionInfo

Loading content...