pub trait Connector<K> {
    type Connection;
    type Error;
    type ConnectionFuture<'a>: Future<Output = Result<Self::Connection, Self::Error>>
   where
        Self: 'a
; fn connect(&self, key: K) -> Self::ConnectionFuture<'_>; }

Required Associated Types

Required Methods

Implementors