We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a69ed commit 420c7a4Copy full SHA for 420c7a4
src/lib.rs
@@ -50,7 +50,7 @@ where
50
impl<T> Service<Uri> for TimeoutConnector<T>
51
where
52
T: Service<Uri> + Send,
53
- T::Response: hyper::rt::Read + hyper::rt::Write + Connection + Send + Unpin,
+ T::Response: Read + Write + Connection + Send + Unpin,
54
T::Future: Send + 'static,
55
T::Error: Into<BoxError>,
56
{
@@ -121,8 +121,8 @@ impl<T> TimeoutConnector<T> {
121
122
impl<T> Connection for TimeoutConnector<T>
123
124
- T: hyper::rt::Read + hyper::rt::Write + Connection + Service<Uri> + Send + Unpin,
125
- T::Response: hyper::rt::Read + hyper::rt::Write + Send + Unpin,
+ T: Read + Write + Connection + Service<Uri> + Send + Unpin,
+ T::Response: Read + Write + Send + Unpin,
126
127
128
0 commit comments