Closed
Description
Feature gate: #![feature(waker_getters)]
This is a tracking issue for getters of data and vtable pointers for RawWaker
, and the method to get RawWaker
from Waker
.
Public API
// core::task
impl RawWaker {
pub fn data(&self) -> *const ();
pub fn vtable(&self) -> &'static RawWakerVTable;
}
impl Waker {
pub fn as_raw(&self) -> &RawWaker;
}
Steps / History
- Implementation: Implement
RawWaker
andWaker
getters for underlying pointers #91828 - Final comment period (FCP)
- Stabilize
waker_getters
#129919
Unresolved Questions
- Do we also need
fn into_raw(self) -> RawWaker
forWaker
? Feature: Provide getters of data and vtable pointer forRawWaker
? #87021 (comment)
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.