pub trait IntoConnectionInfo {
    // Required method
    fn into_connection_info(self) -> Result<ConnectionInfo, RedisError>;
}
Expand description

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

Converts the object into a connection info object.

Implementations on Foreign Types§

§

impl IntoConnectionInfo for String

§

impl IntoConnectionInfo for Url

§

impl<'a> IntoConnectionInfo for &'a str

§

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

Implementors§

§

impl IntoConnectionInfo for ncryptf::deadpool_redis::ConnectionInfo

§

impl IntoConnectionInfo for ncryptf::deadpool_redis::redis::ConnectionInfo