Function structured::csv::infer_schema

source ·
pub fn infer_schema<R: Read>(
    reader: &mut BufReader<R>
) -> Result<Schema, String>
Expand description

Infers the schema of CSV by reading one record.

Errors

Returns an error if there is no data to read from reader.