Function prioritized_metered_channel::channel
source · pub fn channel<T>(capacity: usize) -> (MeteredSender<T>, MeteredReceiver<T>)Expand description
Create a wrapped mpsc::channel pair of MeteredSender and MeteredReceiver.
pub fn channel<T>(capacity: usize) -> (MeteredSender<T>, MeteredReceiver<T>)Create a wrapped mpsc::channel pair of MeteredSender and MeteredReceiver.