pub struct TlsClientConfig { /* private fields */ }Expand description
.
Implementations§
Source§impl TlsClientConfig
impl TlsClientConfig
Sourcepub fn with_server_id(
server_identifier: TlsServerIdentifier,
) -> Result<Self, TlsError>
pub fn with_server_id( server_identifier: TlsServerIdentifier, ) -> Result<Self, TlsError>
Build new TlsClientConfig with TlsServerIdentifier
Sourcepub fn with_hostname(host: &'static str) -> Result<Self, TlsError>
pub fn with_hostname(host: &'static str) -> Result<Self, TlsError>
Build with server hostname
Trait Implementations§
Source§impl Clone for TlsClientConfig
impl Clone for TlsClientConfig
Source§impl Debug for TlsClientConfig
impl Debug for TlsClientConfig
Source§impl TryFrom<TlsClientConfig> for ClientConfig
impl TryFrom<TlsClientConfig> for ClientConfig
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