Skip to content

Commit 9f7a5e0

Browse files
authored
feat(client): implement Clone for Tunnel (#212)
1 parent 9669ff1 commit 9f7a5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/legacy/connect/proxy/tunnel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use tower_service::Service;
1515
/// This is a connector that can be used by the `legacy::Client`. It wraps
1616
/// another connector, and after getting an underlying connection, it creates
1717
/// an HTTP CONNECT tunnel over it.
18-
#[derive(Debug)]
18+
#[derive(Debug, Clone)]
1919
pub struct Tunnel<C> {
2020
headers: Headers,
2121
inner: C,

0 commit comments

Comments
 (0)