pub fn parse_file<T: GetCardInfo + Clone>(
path: &PathBuf,
) -> Result<Vec<CardEntry<T>>, Vec<ParseError>>Expand description
Parses a file
ยงErrors
- If
parse_linefails on any of the lines - If the same card name appears multiple times in the file
- If the reader fails to read a line