Skip to main content

check_tick_scheme

Function check_tick_scheme 

Source
pub fn check_tick_scheme<T: AsRef<str> + Copy>(
    tick_scheme: Option<T>,
) -> CorrectnessResult<()>
Expand description

Validates an optional tick scheme name.

ยงErrors

Returns an error if the name is not valid ASCII or does not identify a registered scheme.