Function prioritized_metered_channel::oneshot::channel
source · pub fn channel<T>(
name: &'static str,
soft_timeout: CoarseDuration,
hard_timeout: CoarseDuration
) -> (MeteredSender<T>, MeteredReceiver<T>)
Expand description
Create a new pair of OneshotMetered{Sender,Receiver}
.