Simplify type system to leverage 'Sync' types

These are generally available now that we use hyper's async
APIs along with the most recent yup-hypermock.
This commit is contained in:
Sebastian Thiel
2021-04-14 09:52:27 +08:00
parent fe6ccfed3f
commit 9c339da955
5 changed files with 13 additions and 24 deletions

View File

@@ -607,7 +607,7 @@ impl RangeResponseHeader {
/// A utility type to perform a resumable upload from start to end.
pub struct ResumableUploadHelper<'a, A: 'a> {
pub client: &'a mut hyper::client::Client<
pub client: &'a hyper::client::Client<
hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>,
hyper::body::Body,
>,