Remove the AsyncRead + AsyncWrite type constraint from h2::client::Client (#53)
This commit is contained in:
		
				
					committed by
					
						 Carl Lerche
						Carl Lerche
					
				
			
			
				
	
			
			
			
						parent
						
							0cc611df35
						
					
				
				
					commit
					8b07a4298c
				
			| @@ -24,7 +24,7 @@ pub struct Handshake<T: AsyncRead + AsyncWrite, B: IntoBuf = Bytes> { | |||||||
| } | } | ||||||
|  |  | ||||||
| /// Marker type indicating a client peer | /// Marker type indicating a client peer | ||||||
| pub struct Client<T: AsyncRead + AsyncWrite, B: IntoBuf> { | pub struct Client<T, B: IntoBuf> { | ||||||
|     connection: Connection<T, Peer, B>, |     connection: Connection<T, Peer, B>, | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user