We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Clone
http2::SendRequest
1 parent 7c158a1 commit 00ea49eCopy full SHA for 00ea49e
src/client/conn/http2.rs
@@ -24,6 +24,12 @@ pub struct SendRequest<B> {
24
dispatch: dispatch::UnboundedSender<Request<B>, Response<IncomingBody>>,
25
}
26
27
+impl<B> Clone for SendRequest<B> {
28
+ fn clone(&self) -> SendRequest<B> {
29
+ SendRequest { dispatch: self.dispatch.clone() }
30
+ }
31
+}
32
+
33
/// A future that processes all HTTP state for the IO object.
34
///
35
/// In most cases, this should just be spawned into an executor, so that it
0 commit comments