Macro stdmpsc_class

Source
macro_rules! stdmpsc_class {
    (Sender<$T:ty>) => { ... };
    (SendError) => { ... };
    (RecvError) => { ... };
    (create::<$T:ty>()) => { ... };
    (send::<$T:ty>($channel:expr, $msg:expr)) => { ... };
    (recv::<$T:ty>($channel:expr)) => { ... };
}
Available on crate feature std only.
Expand description

Channel class for using std::sync::mpsc::sync_channel(1) to deliver return values. Sync-only.