Struct salvo_proxy::HyperClient
source · pub struct HyperClient { /* private fields */ }Expand description
A [Client] implementation based on hyper_util::client::legacy::Client.
Implementations§
source§impl HyperClient
impl HyperClient
sourcepub fn new(
inner: HyperUtilClient<HttpsConnector<HttpConnector>, ReqBody>
) -> Self
pub fn new( inner: HyperUtilClient<HttpsConnector<HttpConnector>, ReqBody> ) -> Self
Create a new HyperClient with the given HyperClient.
Trait Implementations§
source§impl Client for HyperClient
impl Client for HyperClient
Auto Trait Implementations§
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