[−][src]Trait redis::IntoConnectionInfo
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.
Implementations on Foreign Types
impl<'a> IntoConnectionInfo for &'a str
[src]
pub fn into_connection_info(self) -> RedisResult<ConnectionInfo>
[src]
impl<T> IntoConnectionInfo for (T, u16) where
T: Into<String>,
[src]
T: Into<String>,