Enum hvcg_governance_openapi_catholic_polity::client::HyperClient [−][src]
pub enum HyperClient {
Http(Client<HttpConnector, Body>),
Https(Client<HttpsConnector<HttpConnector>, Body>),
}
Variants
Http(Client<HttpConnector, Body>)
Tuple Fields of Http
0: Client<HttpConnector, Body>
Https(Client<HttpsConnector<HttpConnector>, Body>)
Tuple Fields of Https
Trait Implementations
type Future = ResponseFuture
type Future = ResponseFuture
The future response value.
Returns Poll::Ready(Ok(()))
when the service is able to process requests. Read more
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more