Macro flume_class

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

Channel class for using flume::bounded(1) to deliver return values. Supports both sync and async.