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:
Command— messages sent from theAsyncSessionhandle to the spawned session taskShellError— shell-level errors (wraps coreError+ adds channel/task-closed variants)AsyncSession— user-facing handle over a spawned session; useAsyncSession::spawnto wire up the internal session loop
The internal SessionLoop type is crate-private — it’s constructed
by AsyncSession::spawn and should not be touched directly by
consumers.
Structs§
- Async
Session - Async handle to a session running in a spawned tokio task.
Enums§
- Command
- Commands sent from a user-facing
super::AsyncSessionhandle to the spawned tokio task that drives the sans-io core. - Shell
Error - Errors raised by the tokio shell.