Function chrono::format::scan::nanosecond_fixed

source ·
pub(super) fn nanosecond_fixed(
    s: &str,
    digits: usize,
) -> ParseResult<(&str, i64)>
Expand description

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