feat(client): expose hyper::client::connect::Connect trait alias
				
					
				
			This is *just* a "trait alias". It is automatically implemented for all `Service<Uri>`s that have the required bounds. It's purpose being public is to ease setting trait bounds outside of hyper. Therefore, it doesn't have any exposed associated types, to prevent otherwise relying on any super-traits that hyper requires.
This commit is contained in:
		| @@ -637,10 +637,13 @@ mod tests { | ||||
|  | ||||
|     use ::http::Uri; | ||||
|  | ||||
|     use super::super::sealed::Connect; | ||||
|     use super::super::sealed::{Connect, ConnectSvc}; | ||||
|     use super::HttpConnector; | ||||
|  | ||||
|     async fn connect<C>(connector: C, dst: Uri) -> Result<C::Transport, C::Error> | ||||
|     async fn connect<C>( | ||||
|         connector: C, | ||||
|         dst: Uri, | ||||
|     ) -> Result<<C::_Svc as ConnectSvc>::Connection, <C::_Svc as ConnectSvc>::Error> | ||||
|     where | ||||
|         C: Connect, | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user