[][src]Crate tcp_stream

Improve mio's TCP stream handling

tcp-stream is a library aiming at providing TLS and futures/tokio support to mio's TcpStream without forcibly using tokio-reactor

Structs

NativeTlsConnector

A builder for client-side TLS connections.

OpenSslConnector

A type which wraps client-side streams in a TLS session.

OpenSslMethod

A type specifying the kind of protocol an SslContext will speak.

RustlsConnector

The connector

Enums

HandshakeError

An error returned while performing the handshake

MidHandshakeTlsStream

A TLS stream which has been interrupted during the handshake

TcpStream

Wrapper around plain or TLS TCP streams

Type Definitions

NativeTlsHandshakeError

A HandshakeError from native-tls

NativeTlsMidHandshakeTlsStream

A MidHandshakeTlsStream from native-tls

NativeTlsStream

A TcpStream wrapped by native-tls

OpenSslHandshakeError

A HandshakeError from openssl

OpenSslMidHandshakeTlsStream

A MidHandshakeTlsStream from openssl

OpenSslStream

A TcpStream wrapped by openssl

RustlsHandshakeError

A HandshakeError from rustls_connector

RustlsMidHandshakeTlsStream

A MidHandshakeTlsStream from rustls_connector

RustlsStream

A TcpStream wrapped by rustls