Function hini_convert::convert

source ·
pub fn convert(
    data: &str,
    from: DataFormat,
    to: DataFormat
) -> Result<String, String>
Expand description

Convert the given string data between the given formats. Errors are reported as strings.