Struct mongo_driver::client::SslOptions
[−]
[src]
pub struct SslOptions { /* fields omitted */ }
Optional SSL configuration for a ClientPool
.
Methods
impl SslOptions
[src]
pub fn new(
pem_file: Option<PathBuf>,
pem_password: Option<String>,
ca_file: Option<PathBuf>,
ca_dir: Option<PathBuf>,
crl_file: Option<PathBuf>,
weak_cert_validation: bool
) -> Result<SslOptions>
[src]
pem_file: Option<PathBuf>,
pem_password: Option<String>,
ca_file: Option<PathBuf>,
ca_dir: Option<PathBuf>,
crl_file: Option<PathBuf>,
weak_cert_validation: bool
) -> Result<SslOptions>
Create a new ssl options instance that can be used to configured
a ClientPool
.
Trait Implementations
impl Clone for SslOptions
[src]
fn clone(&self) -> SslOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more