Add getter for the period of an Interval #3701
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-help-wanted
Call for participation: Help is requested to fix this issue.
M-time
Module: tokio/time
It would be nice to have access to the inner period field of
Interval
to avoid duplicating it elsewhere. A simple const getter should be fine.The text was updated successfully, but these errors were encountered: