Module atm_async_utils::test_channel [] [src]

An in-memory channel for testing purposes. Allows sending items and errors to a receiver.

Structs

TestReceiver

The receiving end of a test channel.

TestSender

The transmission end of a test channel.

Functions

test_channel

Create a test channel of a given capacity.