pub struct Client(/* private fields */);
👎Deprecated: use Issue trait instead
Expand description
An HTTP client for native usage.
Implementations§
Trait Implementations§
Source§impl From<Client<HttpsConnector<HttpConnector>>> for Client
impl From<Client<HttpsConnector<HttpConnector>>> for Client
Source§fn from(client: HyperClient<HttpsConnector<HttpConnector>, Body>) -> Self
fn from(client: HyperClient<HttpsConnector<HttpConnector>, Body>) -> Self
Create a Client
from a hyper::Client
.
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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