Unify trait bounds on Authenticator::build

This commit is contained in:
Glenn Griffin
2019-11-11 08:56:02 -08:00
parent fa121d41b2
commit b6affacbf0
2 changed files with 2 additions and 3 deletions

View File

@@ -167,9 +167,9 @@ where
pub fn build(self) -> io::Result<impl GetToken>
where
T::TokenGetter: 'static + GetToken,
S: 'static + Send,
S: 'static,
AD: 'static,
C::Connector: 'static + Clone + Send,
C::Connector: 'static + hyper::client::connect::Connect,
{
let client = self.client.build_hyper_client();
let store = self.store?;

View File

@@ -233,7 +233,6 @@ where
}
}
#[derive(Clone)]
struct ServiceAccountAccessImpl<C> {
client: hyper::Client<C, hyper::Body>,
key: ServiceAccountKey,