Struct openssl::ssl::SslConnectorBuilder
[−]
[src]
pub struct SslConnectorBuilder(_);
A builder for SslConnector
s.
Methods
impl SslConnectorBuilder
[src]
fn new(method: SslMethod) -> Result<SslConnectorBuilder, ErrorStack>
Creates a new builder for TLS connections.
The default configuration is subject to change, and is currently derived from Python.
fn builder(&self) -> &SslContextBuilder
Returns a shared reference to the inner SslContextBuilder
.
fn builder_mut(&mut self) -> &mut SslContextBuilder
Returns a mutable reference to the inner SslContextBuilder
.
fn build(self) -> SslConnector
Consumes the builder, returning a SslConnector
.