Struct hyper_rustls::connector::builder::WantsProtocols1
source · pub struct WantsProtocols1 {
tls_config: ClientConfig,
https_only: bool,
override_server_name: Option<String>,
}
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
§override_server_name: Option<String>
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