pub struct TlsClientConfig(/* private fields */);Expand description
Wrapper around Arc<rustls::ClientConfig> built from a TlsProfile.
reqwest::ClientBuilder::use_preconfigured_tls (T14) or use it
Implementations§
Source§impl TlsClientConfig
impl TlsClientConfig
pub fn into_inner(self) -> Arc<ClientConfig>
Trait Implementations§
Source§impl Clone for TlsClientConfig
impl Clone for TlsClientConfig
Source§fn clone(&self) -> TlsClientConfig
fn clone(&self) -> TlsClientConfig
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 TlsClientConfig
impl Debug for TlsClientConfig
Source§impl From<TlsClientConfig> for Arc<ClientConfig>
impl From<TlsClientConfig> for Arc<ClientConfig>
Source§fn from(cfg: TlsClientConfig) -> Self
fn from(cfg: TlsClientConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TlsClientConfig
impl !RefUnwindSafe for TlsClientConfig
impl Send for TlsClientConfig
impl Sync for TlsClientConfig
impl Unpin for TlsClientConfig
impl UnsafeUnpin for TlsClientConfig
impl !UnwindSafe for TlsClientConfig
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