pub async fn open<P>(path: P, config: RecordReaderConfig) -> Result<Self>
    where
        T: Record,
        P: AsRef<Path>,
    {
        let reader = BufReader::new(File::open(path).await?);
        let reader = Self::from_reader(reader, config);
        Ok(reader)
    }
/// Load records from a file.
Load records from a file.
Load records from a file .
pub async fn open<P>(path: P, config: RecordReaderConfig) -> Result<Self>
    where
        T: Record,
        P: AsRef<Path>,
    {
        let reader = BufReader::new(File::open(path).await?);
        let reader = Self::from_reader(reader, config);
        Ok(reader)
    }
pub async fn open < P > ( path : P , config : RecordReaderConfig ) -> Result < Self > where T : Record , P : AsRef < Path > , { let reader = BufReader :: new ( File :: open ( path ) . await ? ) ; let reader = Self :: from_reader ( reader , config ) ; Ok ( reader ) }
Load records from a file.
Load records from a file .
path
P
config
RecordReaderConfig
path
P
config
RecordReaderConfig