src/client/http_client.rs: derive Clone for H2Client

This commit is contained in:
Dietmar Maurer 2019-05-14 09:00:24 +02:00
parent 25e205a1d3
commit c0e22141ed
1 changed files with 1 additions and 0 deletions

View File

@ -386,6 +386,7 @@ impl HttpClient {
} }
} }
#[derive(Clone)]
pub struct H2Client { pub struct H2Client {
h2: h2::client::SendRequest<bytes::Bytes>, h2: h2::client::SendRequest<bytes::Bytes>,
} }