1mod implementations; 2mod methods; 3 4use std::sync::{mpsc, Arc}; 5 6use parking_lot::Mutex; 7 8#[derive(Debug)] 9pub struct Receiver<T> { 10 inner: Arc<Mutex<mpsc::Receiver<T>>>, 11}