cargo::core::gc

Function parse_frequency

source
fn parse_frequency(frequency: &str) -> CargoResult<Option<Duration>>
Expand description

Parses a frequency string.

Returns Ok(None) if the frequency is “never”.