pub struct TlsClientOptions {
pub client_cert: Option<PathBuf>,
pub client_key: Option<PathBuf>,
pub extra_root_pem: Option<PathBuf>,
}Available on crate feature
tls only.Expand description
Inputs for building a shared ClientConfig.
Fields§
§client_cert: Option<PathBuf>Client certificate PEM path (mTLS).
client_key: Option<PathBuf>Client private key PEM path (mTLS).
extra_root_pem: Option<PathBuf>Extra PEM roots to append to Mozilla webpki-roots (optional).
Trait Implementations§
Source§impl Clone for TlsClientOptions
impl Clone for TlsClientOptions
Source§fn clone(&self) -> TlsClientOptions
fn clone(&self) -> TlsClientOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TlsClientOptions
impl Debug for TlsClientOptions
Source§impl Default for TlsClientOptions
impl Default for TlsClientOptions
Source§fn default() -> TlsClientOptions
fn default() -> TlsClientOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TlsClientOptions
impl RefUnwindSafe for TlsClientOptions
impl Send for TlsClientOptions
impl Sync for TlsClientOptions
impl Unpin for TlsClientOptions
impl UnsafeUnpin for TlsClientOptions
impl UnwindSafe for TlsClientOptions
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