Skip to main content

parse_key_val_opt

Function parse_key_val_opt 

Source
pub fn parse_key_val_opt<T, U>(
    s: &str,
) -> Result<(T, Option<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 where value can be null