macro_rules! catty_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
catty
only.Expand description
Channel class for using catty::oneshot()
to deliver return values. Async-only.