Struct aws_smithy_runtime::client::http::hyper_014::HyperConnector
source · pub struct HyperConnector { /* private fields */ }
Expand description
HttpConnector
that uses hyper_0_14
to make HTTP requests.
This connector also implements socket connect and read timeouts.
This shouldn’t be used directly in most cases.
See the docs on HyperClientBuilder
for examples of how
to customize the Hyper client.
Implementations§
source§impl HyperConnector
impl HyperConnector
sourcepub fn builder() -> HyperConnectorBuilder
pub fn builder() -> HyperConnectorBuilder
Builder for a Hyper connector.
Trait Implementations§
source§impl Debug for HyperConnector
impl Debug for HyperConnector
source§impl HttpConnector for HyperConnector
impl HttpConnector for HyperConnector
source§fn call(&self, request: HttpRequest) -> HttpConnectorFuture
fn call(&self, request: HttpRequest) -> HttpConnectorFuture
Asynchronously converts a request into a response.
Auto Trait Implementations§
impl Freeze for HyperConnector
impl !RefUnwindSafe for HyperConnector
impl Send for HyperConnector
impl Sync for HyperConnector
impl Unpin for HyperConnector
impl !UnwindSafe for HyperConnector
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.