Struct native_tls::TlsConnectorBuilder
[−]
[src]
pub struct TlsConnectorBuilder(_);
A builder for TlsConnector
s.
Methods
impl TlsConnectorBuilder
[src]
fn identity(&mut self, pkcs12: Pkcs12) -> Result<&mut TlsConnectorBuilder>
Sets the identity to be used for client certificate authentication.
fn build(self) -> Result<TlsConnector>
Consumes the builder, returning a TlsConnector
.
Trait Implementations
impl TlsConnectorBuilderExt for TlsConnectorBuilder
[src]
fn builder(&self) -> &SslConnectorBuilder
Returns a shared reference to the inner SslConnectorBuilder
.
fn builder_mut(&mut self) -> &mut SslConnectorBuilder
Returns a mutable reference to the inner SslConnectorBuilder
.