[][src]Function umya_spreadsheet::reader::xlsx::read

pub fn read(path: &Path) -> Result<Spreadsheet, XlsxError>

read spreadsheet file.

Arguments

  • path - file path to read.

Return value

  • Result - OK is Spreadsheet. Err is error message.

Examples

let path = std::path::Path::new("C:/spread_test_data/aaa.xlsx");
let mut book = umya_spreadsheet::reader::xlsx::read(path).unwrap();