pub struct TlsOptions {
pub weak_tls: bool,
pub allow_invalid_certificates: bool,
pub ca_file_path: PathBuf,
pub server_cert_file_path: PathBuf,
pub client_cert_file_path: PathBuf,
}
Fields§
§weak_tls: bool
§allow_invalid_certificates: bool
§ca_file_path: PathBuf
§server_cert_file_path: PathBuf
§client_cert_file_path: PathBuf
Trait Implementations§
Source§impl Clone for TlsOptions
impl Clone for TlsOptions
Source§fn clone(&self) -> TlsOptions
fn clone(&self) -> TlsOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TlsOptions
impl Debug for TlsOptions
Source§impl From<TlsOptions> for Tls
impl From<TlsOptions> for Tls
Source§fn from(opts: TlsOptions) -> Self
fn from(opts: TlsOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TlsOptions
impl RefUnwindSafe for TlsOptions
impl Send for TlsOptions
impl Sync for TlsOptions
impl Unpin for TlsOptions
impl UnwindSafe for TlsOptions
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