Module rama::tls::boring::dep::tokio_boring
Expand description
Full Re-export of the tokio-boring
crate.
Structs§
- A fatal error to be returned from async private key methods.
- A fatal error to be returned from async select certificate callbacks.
- The error type returned after a failed handshake.
- Future for an ongoing TLS handshake.
- A wrapper around an underlying raw stream which implements the SSL protocol.
- A partially constructed
SslStream
, useful for unusual handshakes.
Traits§
- Describes async private key hooks. This is used to off-load signing operations to a custom, potentially asynchronous, backend. Metadata about the key such as the type and size are parsed out of the certificate.
- Extensions to
SslContextBuilder
.
Functions§
- Asynchronously performs a server-side TLS handshake over the provided stream.
- Asynchronously performs a client-side TLS handshake over the provided stream.
Type Aliases§
- The type of callbacks returned by
BoxSelectCertFuture
methods. - The type of futures to pass to [
SslContextBuilderExt::set_async_get_session_callback
]. - The type of callbacks returned by
BoxPrivateKeyMethodFuture
. - The type of futures returned by
AsyncPrivateKeyMethod
methods. - The type of callbacks returned by
BoxSelectCertFuture
methods. - The type of futures to pass to [
SslContextBuilderExt::set_async_select_certificate_callback
]. - Convenience alias for futures stored in
Ssl
ex data by [SslContextBuilderExt
] methods.