Skip to main content

frequency

Function frequency 

Source
pub fn frequency(input: &str) -> Result<Frequency, ParseError>
Expand description

An event rate: 100/s, 2.5Hz, 60/min.

ยงErrors

ParseError if the magnitude is not a finite decimal number, the unit is missing on a non-zero magnitude, or the unit is neither hertz nor a per-duration.