Elektrine lite

← Feed

@janriemer@floss.social

Post #2612503

2023-11-25 22:14 UTC

@matze@mastodon.social Yes, that's true. However, writing the desugared version in the trait is still compatible with using async fn in the _trait impl_, so the "burden" is more on lib maintainers. Also this problem only applies when the Self type is generic. And `Send` is only required, if one decides to use a multithreaded rt. I highly recommend the following article by @notgull@hachyderm.io about smol: Why you might actually want async in your project https://notgull.net/why-you-want-async/ #Rust #RustLang #RustAsync #AsyncRust

Replies (0)

No replies.