Struct trillium_native_tls::NativeTlsConfig [−][src]
pub struct NativeTlsConfig<Config> { pub tcp_config: Config, pub tls_connector: Arc<TlsConnector>, }
Expand description
Configuration for the native tls client connector
Fields
tcp_config: Config
configuration for the inner Connector (usually tcp)
tls_connector: Arc<TlsConnector>
native tls configuration
Although async_native_tls calls this a TlsConnector, it’s actually a builder ¯_(ツ)_/¯
Trait Implementations
Auto Trait Implementations
impl<Config> RefUnwindSafe for NativeTlsConfig<Config> where
Config: RefUnwindSafe,
impl<Config> Send for NativeTlsConfig<Config> where
Config: Send,
impl<Config> Sync for NativeTlsConfig<Config> where
Config: Sync,
impl<Config> Unpin for NativeTlsConfig<Config> where
Config: Unpin,
impl<Config> UnwindSafe for NativeTlsConfig<Config> where
Config: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more