balancerd

Function parse_key_val

Source
pub(crate) fn parse_key_val<T, U>(
    s: &str,
) -> Result<(T, U), Box<dyn Error + Send + Sync + 'static>>
where T: FromStr, T::Err: Error + Send + Sync + 'static, U: FromStr, U::Err: Error + Send + Sync + 'static,
Expand description

Parse a single key-value pair