Function decode_from_file

Source
pub fn decode_from_file<T: Decode, P: AsRef<Path>>(path: P) -> Result<T>