Expand description
Code to meter unbounded channels.
Structs§
- Tracing
Unbounded Receiver - Wrapper Type around
async_channel::Receiverthat decreases the global measure when a message is polled. - Tracing
Unbounded Sender - Wrapper Type around
async_channel::Senderthat increases the global measure when a message is added.
Enums§
- TryRecv
Error - An error returned from
Receiver::try_recv(). - TrySend
Error - An error returned from
Sender::try_send().
Functions§
- tracing_
unbounded - Wrapper around
async_channel::unboundedthat tracks the in- and outflow viaUNBOUNDED_CHANNELS_COUNTERand warns if the message queue grows above the warning threshold.