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
Feature gate:
#![feature(waker_from_fn_ptr)]Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)from_fn_ptrtoWakerandLocalWaker#146057Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩