Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async fns in traits #150

Closed
nikomatsakis opened this issue Mar 15, 2022 · 4 comments
Closed

Async fns in traits #150

nikomatsakis opened this issue Mar 15, 2022 · 4 comments
Labels
final-comment-period The FCP has started, most (if not all) team members are in agreement major-change Major change proposal T-lang to-announce Not yet announced MCP proposals

Comments

@nikomatsakis
Copy link
Contributor

Proposal

Summary and problem statement

  • Permit async fn and return-position impl trait in traits
  • Support static and dynamic dispatch
  • Convenient to use, but also supports less common use-cases like no-std

Motivation, use-cases, and solution sketches

See https://rust-lang.github.io/async-fundamentals-initiative/

Links and related work

None

Initial people involved

What happens now?

This issue is part of the lang-team initiative process. Once this issue is filed, a Zulip topic will be opened for discussion, and the lang-team will review open proposals in its weekly triage meetings. You should receive feedback within a week or two.

This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.

@nikomatsakis nikomatsakis added major-change Major change proposal T-lang labels Mar 15, 2022
@rustbot
Copy link
Collaborator

rustbot commented Mar 15, 2022

This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.

@rustbot rustbot added the to-announce Not yet announced MCP proposals label Mar 15, 2022
@joshtriplett
Copy link
Member

@rustbot second

@rustbot rustbot added the final-comment-period The FCP has started, most (if not all) team members are in agreement label Mar 15, 2022
@nikomatsakis
Copy link
Contributor Author

@nikomatsakis
Copy link
Contributor Author

There has been an accepted RFC and implementation work. Tracking issue: rust-lang/rust#91611

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
final-comment-period The FCP has started, most (if not all) team members are in agreement major-change Major change proposal T-lang to-announce Not yet announced MCP proposals
Projects
None yet
Development

No branches or pull requests

3 participants