pub fn open(path: impl AsRef<std::path::Path>) -> io::Result<Self> {
        let file = File::open(path)?;
        let reader = io::BufReader::new(file);

        Ok(Self { reader })
    }
/// Opens the file from the path into a reader
Opens the file from the path into a reader
Opens the file from the path into a reader
pub fn open(path: impl AsRef<std::path::Path>) -> io::Result<Self> {
        let file = File::open(path)?;
        let reader = io::BufReader::new(file);
        Ok(Self { reader })
    }
pub fn open ( path : impl AsRef < std :: path :: Path > ) -> io :: Result < Self > { let file = File :: open ( path ) ? ; let reader = io :: BufReader :: new ( file ) ; Ok ( Self { reader } ) }
Opens the file from the path into a reader
Opens the file from the path into a reader
path
impl AsRef<std::path::Path>
path
impl AsRef<std::path::Path>