async-fundamentals-initiative icon indicating copy to clipboard operation
async-fundamentals-initiative copied to clipboard

Async fn in traits initiative

Open nikomatsakis opened this issue 3 years ago • 0 comments

Metadata
Name Async fns in traits initiative
Owner @tmandry
Liaison @joshtriplett
Proposed in https://github.com/rust-lang/lang-team/issues/150

Purpose

Working towards support for

trait Foo {
    async fn bar(&self);
}

Artifacts

  • Accepted RFC: Static async fn in traits (https://github.com/rust-lang/rfcs/pull/3185)

nikomatsakis avatar Feb 01 '22 17:02 nikomatsakis