Module nex_socket::tls::socket

source ·

Re-exports§

Structs§

  • Future returned from TlsAcceptor::accept which will resolve once the accept handshake has finished.
  • Async TLS acceptor. A wrapper around a rustls::ServerConfig
  • Async TLS connector. A wrapper around a rustls::ClientConfig
  • Future returned from TlsConnector::connect which will resolve once the connection handshake has finished.
  • Accept future that resolves to a TlsStream on success. If the handshake fails, the IO is returned.
  • Connect future that resolves to a TlsStream on success. If the handshake fails, the IO is returned.
  • Wrapper around a rustls::StreamOwned<ClientConnection, TcpStream>
  • Wrapper around a rustls::StreamOwned<ServerConnection, TcpStream>

Enums§