Function cargo::core::gc::maybe_parse_time_span

source ยท
fn maybe_parse_time_span(span: &str) -> Option<Duration>
Expand description

Parses a time span string.

Returns None if the value is not valid. See parse_time_span if you need a variant that generates an error message.