Crate tonic_openssl
source · [−]Expand description
A openssl adaptor for tonic
.
Examples can be found in the example
crate
within the repository.
Structs
Connection info for SSL streams.
A SslStream
wrapper type that implements tokio’s io traits
and tonic’s Connected
trait.
Constants
A const that contains the on the wire h2
alpn
value that can be passed directly to OpenSSL.
Functions
Wrap some incoming stream of io types with OpenSSL’s
SslStream
type. This will take some acceptor and a
stream of io types and accept connections.
Type Definitions
Wrapper error type.