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”.