pub struct WantsProtocols1 {
tls_config: ClientConfig,
https_only: bool,
server_name_resolver: Option<Arc<dyn ResolveServerName + Sync + Send>>,
}
Expand description
State of a builder that needs to have some protocols (HTTP1 or later) enabled next
No protocol has been enabled at this point.
Fields§
§tls_config: ClientConfig
§https_only: bool
§server_name_resolver: Option<Arc<dyn ResolveServerName + Sync + Send>>
Implementations§
Source§impl WantsProtocols1
impl WantsProtocols1
fn wrap_connector<H>(self, conn: H) -> HttpsConnector<H>
fn build(self) -> HttpsConnector<HttpConnector>
Auto Trait Implementations§
impl Freeze for WantsProtocols1
impl !RefUnwindSafe for WantsProtocols1
impl Send for WantsProtocols1
impl Sync for WantsProtocols1
impl Unpin for WantsProtocols1
impl !UnwindSafe for WantsProtocols1
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