use std::sync::mpsc::{Sender, Receiver}; struct Slot<'call, T> { receiver: Receiver, sender: Sender, callback: Box } #[cfg(test)] mod tests { #[test] fn it_works() { assert_eq!(2 + 2, 4); } }