Closed
Description
Feature gate: #![feature(const_waker)]
This is a tracking issue for const
ifying the following functions:
Context::from_waker
Context::waker
Waker::from_raw
Public API
// core::task
impl<'a> Context<'a> {
pub const fn from_waker(waker: &'a Waker) -> Self;
pub const fn waker(&self) -> &'a Waker;
}
impl Waker {
pub const unsafe fn from_raw(waker: RawWaker) -> Waker;
}
Steps / History
- Implementation: Make
from_waker
,waker
andfrom_raw
unstablyconst
#101798 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Metadata
Metadata
Assignees
Labels
Area: Async & AwaitAsync-await issues that have been triaged during a working group meeting.Category: An issue tracking the progress of sth. like the implementation of an RFCNominated for discussion during an async working group meeting.Relevant to the library API team, which will review and decide on the PR/issue.Working group: Async & awaitThis issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.