Module tokio_shell

Module tokio_shell 

Source
Expand description

Tokio async shell driving the sans-io dstar-gateway-core.

This module provides the async API consumers will use once the legacy ReflectorClient is retired. For now it lives alongside the legacy code.

Entry points:

The internal SessionLoop type is crate-private — it’s constructed by AsyncSession::spawn and should not be touched directly by consumers.

Structs§

AsyncSession
Async handle to a session running in a spawned tokio task.

Enums§

Command
Commands sent from a user-facing super::AsyncSession handle to the spawned tokio task that drives the sans-io core.
ShellError
Errors raised by the tokio shell.