Crate easy_tokio_rustls

Source
Expand description

This library provides convenient abstractions for creating simple TLS sockets with tokio-rustls. Examples can be found in the examples directory

Structs§

TlsClient
Primary class for creating and connecting clientside TLS sockets
TlsListener
This structure is a handle to a listening socket returned by TlsServer::listen. Call TlsListener::stream_accept to accept a new client connection.
TlsServer
Primary class for creating and connecting serverside TLS sockets

Enums§

EasyTlsError
Represents custom errors returned directly by this crate
TlsStream
Unified TLS stream type

Functions§

resolve_address
This is a simplified async address resolver