open_with

Function open_with 

Source
pub fn open_with<P: AsRef<Path> + ?Sized>(
    path: &P,
    format: &Format,
    options: Dictionary<'_>,
) -> Result<Context, Error>
Expand description

Opens a file with a specific format and options dictionary.

Like open() but allows passing codec/format options.

ยงParameters

  • path - File path to open
  • format - Format to use
  • options - Dictionary of format-specific options