Module tokio_support

Module tokio_support 

Source
Expand description

Tokio-friendly runtime adapters and simple std-backed stores.

Structs§

MemoryCounterStore
In-memory counter store convenient for host-side tests.
MemoryKeyValueStore
In-memory key-value store convenient for host-side tests.
StdClock
Monotonic clock backed by std::time::Instant.
ThreadRng
Thread-local cryptographic RNG seeded from the operating system. A reference to the thread-local generator
TokioDelay
DelayNs adapter backed by tokio::time::sleep.
TokioFileCounterStore
Counter store that persists one file per context key.
TokioFileKeyValueStore
Key-value store that persists one file per key.
TokioPlatform
Convenience crate::Platform implementation for Tokio-based hosts.
UdpMulticastRadio
Host-side radio simulator backed by UDP multicast.
UdpMulticastRadioConfig
Configuration for UdpMulticastRadio.

Enums§

FileStoreError
Errors returned by the std-backed file and memory stores.
UdpMulticastRadioError
Errors returned by the UDP multicast radio simulator.