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