use crate::error::AdventError; pub trait AdventDayPart1 { fn read_input(&mut self) -> Result<(),AdventError>; fn solve(&mut self) -> Result; } pub trait AdventDayPart2 { fn read_input(&mut self) -> Result<(),AdventError>; fn solve(&mut self) -> Result; } pub trait AdventDay { fn puzzle1(&mut self) -> Result; fn puzzle2(&mut self) -> Result; } pub mod day1; pub mod day2; pub mod day3; pub mod day4; pub mod day5; pub mod day14;