use std::path::PathBuf; use crate::{parser::ParserError, record::Play}; pub trait LogParser { /// Parse the given log file into a list of tracks fn parse(log: PathBuf) -> Result, ParserError>; }