Connect

Trait Connect 

Source
pub trait Connect: Sized {
    // Required method
    fn connect<'a, T>(info: T) -> RedisFuture<'a, Self>
       where T: IntoConnectionInfo + Send + 'a;
}

Required Methods§

Source

fn connect<'a, T>(info: T) -> RedisFuture<'a, Self>
where T: IntoConnectionInfo + Send + 'a,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Connect for MultiplexedConnection

Source§

fn connect<'a, T>(info: T) -> RedisFuture<'a, MultiplexedConnection>
where T: IntoConnectionInfo + Send + 'a,

Implementors§