Struct hyper_rustls::builderstates::WantsProtocols3
source · pub struct WantsProtocols3 {
inner: WantsProtocols1,
enable_http1: bool,
}
Expand description
State of a builder with HTTP2 (and possibly HTTP1) enabled
At this point a connector can be built, see
build
and
wrap_connector
.
Fields§
§inner: WantsProtocols1
§enable_http1: bool
Auto Trait Implementations§
impl Freeze for WantsProtocols3
impl !RefUnwindSafe for WantsProtocols3
impl Send for WantsProtocols3
impl Sync for WantsProtocols3
impl Unpin for WantsProtocols3
impl !UnwindSafe for WantsProtocols3
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