Skip to main content

Module impls

Module impls 

Source
Expand description

Different implementations of a common async API for use in arti

Currently only async_std, tokio and smol are provided.

Modulesยง

async_std ๐Ÿ”’
Re-exports of the async_std runtime for use with arti.
native_tls ๐Ÿ”’
Implementation for using native_tls
rustls ๐Ÿ”’
Implementation for using Rustls with a runtime.
smol ๐Ÿ”’
Re-exports of the smol runtime for use with arti. This crate defines a slim API around our async runtime so that we can swap it out easily.
streamops ๐Ÿ”’
Helpers for implementing StreamOps.
tokio ๐Ÿ”’
Re-exports of the tokio runtime for use with arti.
unimpl_tls ๐Ÿ”’
Stub types to provide in place of an unimplemented TLS server-side implementation.

Constantsยง

LISTEN_BACKLOG ๐Ÿ”’
Connection backlog size to use for listen() calls on IP sockets.

Functionsยง

tcp_listen ๐Ÿ”’
Open a listening TCP socket.