Module metered_channel::oneshot [−][src]
Expand description
Metered variant of oneshot channels to be able to extract delays caused by delayed responses.
Structs
Obtained measurements by the Receiver side of the MeteredOneshot.
Oneshot receiver, created by channel.
Oneshot sender, created by channel.
A wrapping type for the actual type T that is sent with the
oneshot yet allow to attach Measurements to it.
Enums
Traits
A dummy trait that allows implementing measurements for Result<_,_>.
Functions
Create a new pair of OneshotMetered{Sender,Receiver}.