Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's partially not true. You can use a non-async form in the trait definition to require the Send bound and then the trait impls can use the async form. See https://play.rust-lang.org/?version=nightly&mode=debug&editi...


Fair point. Though, the code in question was a trait definition.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: