macro_rules! clone_to_async {
(
($($to_move:ident $(= $orig_name:expr)?),*)
|$(mut $arg:ident),*|
$blk:expr
) => { ... };
(
($($to_move:ident $(= $orig_name:expr)?),*)
|$($arg:ident),*|
$blk:expr
) => { ... };
}
Expand description
Clone the item and move it into the async closure.