Macros§
- maybe_
await - Parses an expression and conditionally adds the
.await
keyword at the end of it depending on theasync
feature flag being enabled.
Attribute Macros§
- maybe_
async - Parses a function (regular or trait) and conditionally adds the
async
keyword depending on theasync
feature flag being enabled. - maybe_
async_ trait - Conditionally add
async
keyword to functions.