# tokio_native_tls::native_tls - Rust
API documentation for the Rust `native_tls` mod in crate `tokio_native_tls`.
Keywords: rust, rustlang, rust-lang, native_tls

# Module tokio_native_tls::native_tls [−] [src]

re-export native_tls

## Structs

Certificate | An X509 certificate.
Error | An error returned from the TLS implementation.
Identity | A cryptographic identity.
MidHandshakeTlsStream | A TLS stream which has been interrupted midway through the handshake process.
TlsAcceptor | A builder for server-side TLS connections.
TlsAcceptorBuilder | A builder for `TlsAcceptor`s.
TlsConnector | A builder for client-side TLS connections.
TlsConnectorBuilder | A builder for `TlsConnector`s.
TlsStream | A stream managing a TLS session.

## Enums

HandshakeError | An error returned from `ClientBuilder::handshake`.
Protocol | SSL/TLS protocol versions.

## Type Definitions

Result | A typedef of the result-type returned by many methods.