pub struct WebpkiTlsStreamConnector { /* private fields */ }
Expand description
A StreamConnector
for PKI TLS streams.
Implementations§
Source§impl WebpkiTlsStreamConnector
impl WebpkiTlsStreamConnector
Sourcepub fn new(servername: ServerName<'static>) -> Self
pub fn new(servername: ServerName<'static>) -> Self
Create a new TlsStreamConnector
for a server
Trait Implementations§
Source§impl Debug for WebpkiTlsStreamConnector
impl Debug for WebpkiTlsStreamConnector
Auto Trait Implementations§
impl Freeze for WebpkiTlsStreamConnector
impl !RefUnwindSafe for WebpkiTlsStreamConnector
impl Send for WebpkiTlsStreamConnector
impl Sync for WebpkiTlsStreamConnector
impl Unpin for WebpkiTlsStreamConnector
impl !UnwindSafe for WebpkiTlsStreamConnector
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