Trait monoio_http_client::Connector
source · [−]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
source
type Connection
sourcetype ConnectionFuture<'a>: Future<Output = Result<Self::Connection, Self::Error>>
type ConnectionFuture<'a>: Future<Output = Result<Self::Connection, Self::Error>>
where
Self: 'a
Required Methods
source