pub enum HyperClient {
Http(Client<HttpConnector, Body>),
Https(Client<HttpsConnector<HttpConnector>, Body>),
}
Variants§
Http(Client<HttpConnector, Body>)
Https(Client<HttpsConnector<HttpConnector>, Body>)
Trait Implementations§
Source§impl Clone for HyperClient
impl Clone for HyperClient
Source§fn clone(&self) -> HyperClient
fn clone(&self) -> HyperClient
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HyperClient
impl Debug for HyperClient
Auto Trait Implementations§
impl Freeze for HyperClient
impl !RefUnwindSafe for HyperClient
impl Send for HyperClient
impl Sync for HyperClient
impl Unpin for HyperClient
impl !UnwindSafe for HyperClient
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