Tracking issue for Waker::from_fn_ptr (original) (raw)

Feature gate: #![feature(waker_from_fn_ptr)]

Public API

// core::task

impl Waker { pub const fn from_fn_ptr(f: fn()) -> Self; }

impl LocalWaker { pub const fn from_fn_ptr(f: fn()) -> Self; }

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html