Macro boxed_async

Source
macro_rules! boxed_async {
    (async $block:block) => { ... };
    (async move $block:block) => { ... };
}
Expand description

Macro to automatically box an async block for use with the boxed database API

This macro makes the boxed database API more ergonomic by hiding the need to manually use Box::pin() around async blocks.