Available on crate feature
common
only.Expand description
Support for metering senders. Facilitates debugging by exposing metrics for number of messages sent, number of errors, etc.
Structs§
- A wrapper type around [
PollSender
] that updates metrics on send. - A wrapper type around Receiver that updates metrics on receive.
- A wrapper type around Sender that updates metrics on send.
- A wrapper type around Receiver that updates metrics on receive.
- A wrapper type around
UnboundedSender
that updates metrics on send.
Functions§
- Wrapper around [
mpsc::channel
] that returns a new bounded metered channel with the given buffer size. - Wrapper around [
mpsc::unbounded_channel
] that returns a new unbounded metered channel.