pub enum ClientType {
Plain(Client<HttpsConnector<HttpConnector>>),
Proxy(Client<ProxyConnector<HttpConnector>>),
}Expand description
represent an client that invoke make requests
Variants§
Plain(Client<HttpsConnector<HttpConnector>>)
the plain https client
Proxy(Client<ProxyConnector<HttpConnector>>)
Available on crate feature
proxy only.the proxy client
Auto Trait Implementations§
impl Freeze for ClientType
impl !RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl !UnwindSafe for ClientType
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