Struct TlsTransport
pub struct TlsTransport {
connector: TlsConnector,
host: ServerName<'static>,
port: u16,
}Available on crate feature
tls only.Expand description
TLS transport using tokio-rustls.
Fields§
§connector: TlsConnector§host: ServerName<'static>§port: u16Implementations§
§impl TlsTransport
impl TlsTransport
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsTransport
impl !RefUnwindSafe for TlsTransport
impl Send for TlsTransport
impl Sync for TlsTransport
impl Unpin for TlsTransport
impl !UnwindSafe for TlsTransport
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