pub struct UnverifiedTlsStreamConnector { /* private fields */ }
Expand description
A StreamConnector
for self-signed server TLS streams. No host certificate validation is performed.
Implementations§
Source§impl UnverifiedTlsStreamConnector
impl UnverifiedTlsStreamConnector
Sourcepub fn new(servername: ServerName<'static>) -> Self
pub fn new(servername: ServerName<'static>) -> Self
Create a new UnverifiedTlsStreamConnector
for a server.
This connector does not perform any certificate validation.
Trait Implementations§
Source§impl Debug for UnverifiedTlsStreamConnector
impl Debug for UnverifiedTlsStreamConnector
Auto Trait Implementations§
impl Freeze for UnverifiedTlsStreamConnector
impl !RefUnwindSafe for UnverifiedTlsStreamConnector
impl Send for UnverifiedTlsStreamConnector
impl Sync for UnverifiedTlsStreamConnector
impl Unpin for UnverifiedTlsStreamConnector
impl !UnwindSafe for UnverifiedTlsStreamConnector
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