Module tokio
Expand description
Full Re-export of the rama-boring-tokio
crate.
Structs§
- Async
Private KeyMethod Error - A fatal error to be returned from async private key methods.
- Async
Select Cert Error - A fatal error to be returned from async select certificate callbacks.
- Handshake
Error - The error type returned after a failed handshake.
- Handshake
Future - Future for an ongoing TLS handshake.
- SslStream
- A wrapper around an underlying raw stream which implements the SSL protocol.
- SslStream
Builder - A partially constructed
SslStream
, useful for unusual handshakes.
Traits§
- Async
Private KeyMethod - 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.
- SslContext
Builder Ext - Extensions to
SslContextBuilder
.
Functions§
- accept
- Asynchronously performs a server-side TLS handshake over the provided stream.
- connect
- Asynchronously performs a client-side TLS handshake over the provided stream.
Type Aliases§
- BoxGet
Session Finish - The type of callbacks returned by
BoxSelectCertFuture
methods. - BoxGet
Session Future - The type of futures to pass to
SslContextBuilderExt::set_async_get_session_callback
. - BoxPrivate
KeyMethod Finish - The type of callbacks returned by
BoxPrivateKeyMethodFuture
. - BoxPrivate
KeyMethod Future - The type of futures returned by
AsyncPrivateKeyMethod
methods. - BoxSelect
Cert Finish - The type of callbacks returned by
BoxSelectCertFuture
methods. - BoxSelect
Cert Future - The type of futures to pass to
SslContextBuilderExt::set_async_select_certificate_callback
. - ExData
Future - Convenience alias for futures stored in
Ssl
ex data bySslContextBuilderExt
methods.