thingbuf 0.1.6

I'm at the buffer pool. I'm at the MPSC channel. I'm at the combination MPSC channel and buffer pool.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thingbuf::mpsc;

#[test]
fn mpsc_debug() {
    let (tx, rx) = mpsc::channel(4);
    println!("tx={:#?}", tx);
    println!("rx={:#?}", rx);
    let _ = tx.try_send(1);
    println!("rx={:#?}", rx);
    drop(tx);
    println!("rx={:#?}", rx);
}