async-trait
async-trait copied to clipboard
Add per-method #[async_trait(?Send)]
Fixes #131
Allow adding #[async_trait(?Send)] to specific methods instead of the whole trait for cases where only some methods require Send bounds.
I could add #[async_trait(Send)] as well for convenience when most methods on a trait should be ?Send but a few shouldn't, depending on your opnion on that.