pub struct CustomHyperClientBuilder<C>{ /* private fields */ }
Expand description
Intended for using an existing hyper client with yup-oauth2
. Instantiate
with CustomHyperClientBuilder::from
Trait Implementations§
Source§impl<C> HyperClientBuilder for CustomHyperClientBuilder<C>
impl<C> HyperClientBuilder for CustomHyperClientBuilder<C>
Source§fn with_timeout(self, timeout: Duration) -> Self
fn with_timeout(self, timeout: Duration) -> Self
Sets duration after which a request times out
Source§fn build_hyper_client(self) -> Result<HttpClient<Self::Connector>, Error>
fn build_hyper_client(self) -> Result<HttpClient<Self::Connector>, Error>
Create a hyper::Client
Auto Trait Implementations§
impl<C> Freeze for CustomHyperClientBuilder<C>where
C: Freeze,
impl<C> !RefUnwindSafe for CustomHyperClientBuilder<C>
impl<C> Send for CustomHyperClientBuilder<C>
impl<C> Sync for CustomHyperClientBuilder<C>
impl<C> Unpin for CustomHyperClientBuilder<C>where
C: Unpin,
impl<C> !UnwindSafe for CustomHyperClientBuilder<C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more