chrono::format::scan

Function nanosecond

Source
pub(super) fn nanosecond(s: &str) -> ParseResult<(&str, i64)>
Expand description

Tries to consume at least one digits as a fractional second. Returns the number of whole nanoseconds (0–999,999,999).