pub struct TlsConnectorBuilder(pub ());
Tuple Fields§
§0: ()
Trait Implementations§
Source§impl TlsConnectorBuilder for TlsConnectorBuilder
impl TlsConnectorBuilder for TlsConnectorBuilder
Source§type Connector = TlsConnector
type Connector = TlsConnector
Result of connector to be build.
Source§type Underlying = ()
type Underlying = ()
Type of the underlying builder. Read more
Source§fn underlying_mut(&mut self) -> &mut Self::Underlying
fn underlying_mut(&mut self) -> &mut Self::Underlying
Get the underlying builder. Read more
Source§fn set_alpn_protocols(&mut self, protocols: &[&[u8]]) -> Result<()>
fn set_alpn_protocols(&mut self, protocols: &[&[u8]]) -> Result<()>
Set ALPN-protocols to negotiate. Read more
Source§fn set_verify_hostname(&mut self, verify: bool) -> Result<()>
fn set_verify_hostname(&mut self, verify: bool) -> Result<()>
Should hostname verification be performed?
Use carefully, it opens the door to MITM attacks.
Auto Trait Implementations§
impl Freeze for TlsConnectorBuilder
impl RefUnwindSafe for TlsConnectorBuilder
impl Send for TlsConnectorBuilder
impl Sync for TlsConnectorBuilder
impl Unpin for TlsConnectorBuilder
impl UnwindSafe for TlsConnectorBuilder
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