Remove the AsyncRead + AsyncWrite type constraint from h2::client::Client (#53)

This commit is contained in:
Oliver Gould
2017-09-05 20:17:32 -07:00
committed by Carl Lerche
parent 0cc611df35
commit 8b07a4298c

View File

@@ -24,7 +24,7 @@ pub struct Handshake<T: AsyncRead + AsyncWrite, B: IntoBuf = Bytes> {
}
/// 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>,
}