Available on crate feature
async
only.Expand description
Channel utilities and extensions.
Modules§
- Trigger channels.
Structs§
- A wrapper around
oneshot::Receiver
that will call the provided closure if there is a value in the receiver when it’s dropped. - A wrapper around tokio’s
UnboundedReceiver
that increments a metric when a recv finishes. - A wrapper around tokio’s
UnboundedSender
that increments a metric when a send occurs.
Traits§
- A trait describing a metric that can be used with an
instrumented_unbounded_channel
. - Extensions for oneshot channel types.
Functions§
- A wrapper around tokio’s mpsc unbounded channels that connects metrics that are incremented when sends or receives happen.