Feature gate: #![feature(const_system_time)]
This is a tracking issue for the constification of various SystemTime methods.
Public API
The following methods are made const:
SystemTime::duration_since
SystemTime::checked_add
SystemTime::checked_sub
SystemTimeError::duration
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
Feature gate:
#![feature(const_system_time)]This is a tracking issue for the constification of various
SystemTimemethods.Public API
The following methods are made const:
SystemTime::duration_sinceSystemTime::checked_addSystemTime::checked_subSystemTimeError::durationSteps / History
(Remember to update the
S-tracking-*label when checking boxes.)SystemTimemethods #144519Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩