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,
K: 'a;
// Required method
fn connect(&self, key: K) -> Self::ConnectionFuture<'_>;
}