SHARE
TWEET

Untitled

a guest Oct 14th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use futures::sync::mpsc;
  2.  
  3. struct Message<T, R> {
  4.     a: T,
  5.     b: R,
  6. }
  7.  
  8. #[derive(Clone)]
  9. pub struct BusSender<T, R: Send> {
  10.     sender: mpsc::UnboundedSender<Message<T, R>>,
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top