You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using #[maybe_async::maybe_async(AFIT)] on public traits, I get the following warning:
use of "async fn" in public traits is discouraged as auto trait bounds cannot be specified.
I understand why it's there and can fix it by providing two traits, one for sync and another for async, but maybe there's some better way to avoid it and have maybe_async deal with it so I don't duplicate interfaces?
The text was updated successfully, but these errors were encountered:
When using
#[maybe_async::maybe_async(AFIT)]
on public traits, I get the following warning:use of "async fn" in public traits is discouraged as auto trait bounds cannot be specified
.I understand why it's there and can fix it by providing two traits, one for sync and another for async, but maybe there's some better way to avoid it and have
maybe_async
deal with it so I don't duplicate interfaces?The text was updated successfully, but these errors were encountered: