Function read
Source pub fn read<P: AsRef<Path>>(path: P) -> Result<Spreadsheet, XlsxError>
Expand description
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("./tests/test_files/aaa.xlsx");
let mut book = umya_spreadsheet::reader::xlsx::read(path).unwrap();