Expand description
Metered variant of oneshot channels to be able to extract delays caused by delayed responses.
Structs§
- Measurements
- Obtained measurements by the
Receiverside of theMeteredOneshot. - Metered
Receiver - Oneshot receiver, created by
channel. - Metered
Sender - Oneshot sender, created by
channel. - Output
With Measurements - A wrapping type for the actual type
Tthat is sent with the oneshot yet allow to attachMeasurementsto it.
Enums§
Traits§
- Measurable
- A dummy trait that allows implementing
measurementsforResult<_,_>.
Functions§
- channel
- Create a new pair of
OneshotMetered{Sender,Receiver}.