-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
A-async-awaitArea: Async & Await AsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting. C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC I-async-nominatedNominated for discussion during an async working group meeting. T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue. WG-asyncWorking group: Async & await disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-periodThe final comment period is finished for this PR / Issue.
Milestone
@oxalica
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
RawWakerandWakergetters for underlying pointers #91828 - Final comment period (FCP)
- Stabilize
waker_getters#129919
Unresolved Questions
- Do we also need
fn into_raw(self) -> RawWakerforWaker? Feature: Provide getters of data and vtable pointer forRawWaker? #87021 (comment)
Metadata
Metadata
Assignees
Labels
A-async-awaitArea: Async & Await AsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting. C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC I-async-nominatedNominated for discussion during an async working group meeting. T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue. WG-asyncWorking group: Async & await disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-periodThe final comment period is finished for this PR / Issue.