Fix E0770: Async Fn Return Type Cannot Contain Impl Trait
Rust compiler error E0770 occurs when an async function's return type contains impl Trait, which generators cannot represent.
2 articles
Rust compiler error E0770 occurs when an async function's return type contains impl Trait, which generators cannot represent.
Rust compiler error caused by passing a regular closure where an async closure is expected, or vice versa.