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