Tracking issue for extra Duration methods · Issue #46507 · rust-lang/rust (original) (raw)
Right now, we have from_secs
, from_millis
, and from_micros
, and also as_secs
and subsec_nanos
.
It makes sense to also add from_nanos
, subsec_micros
, and subsec_millis
.