Trait simple_hyper_client::NetworkConnector
source · [−]pub trait NetworkConnector: Send + Sync + 'static {
fn connect(
&self,
uri: Uri
) -> Pin<Box<dyn Future<Output = Result<NetworkConnection, Box<dyn StdError + Send + Sync>>> + Send>>;
}
Expand description
Network connector trait with type erasure