pub fn open(path: &str) -> Result<Series<T>, Error> {
        let f = OpenOptions::new()
            .read(true)
            .append(true)
            .create(true)
            .open(&path)
            .map_err(Error::IOError)?;

        let records = Series::load_file(&f)?;

        let writer = LineWriter::new(f);

        Ok(Series {
            //path: String::from(path),
            writer,
            records,
        })
    }
/// Open a time series database at the specified path. `path` is the full path and filename for
/// the database.
Open a time series database at the specified path. `path` is the full path and filename for
the database.
Open a time series database at the specified path . ` path ` is the full path and filename for the database .
pub fn open(path: &str) -> Result<Series<T>, Error> {
        let f = OpenOptions::new()
            .read(true)
            .append(true)
            .create(true)
            .open(&path)
            .map_err(Error::IOError)?;
        let records = Series::load_file(&f)?;
        let writer = LineWriter::new(f);
        Ok(Series {
            //path: String::from(path),
            writer,
            records,
        })
    }
pub fn open ( path : & str ) -> Result < Series < T > , Error > { let f = OpenOptions :: new ( ) . read ( true ) . append ( true ) . create ( true ) . open ( & path ) . map_err ( Error :: IOError ) ? ; let records = Series :: load_file ( & f ) ? ; let writer = LineWriter :: new ( f ) ; Ok ( Series { //path: String::from(path), writer , records , } ) }
Open a time series database at the specified path.
Open a time series database at the specified path .
path
&str
path
&str