Function convert

Source
pub async fn convert<I, O>(
    input: I,
    output: Option<O>,
    format: OutFormat,
    runtime: Runtime,
) -> Result<()>
where I: AsRef<Path>, O: AsRef<Path> + Sync,