pub fn from_file<P: AsRef<Path>>(path: P) -> Result<OctoCart, Error>
Expand description

Read and decode Octocart from a file path

Errors

Returns Err if opening the file or decoding the Octocart fails.