Macro futures_oneshot_class

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

Channel class for using futures::channel::oneshot::channel() to deliver return values. Async-only.