Crate irox_csv

Source

Structs§

BasicTokenReader
Scans the provided input stream and outputs Tokens as it detects them.
CSVError
CSVMapReader
Returns each row as a Key => Value Mapping, rather than a simple list of values.
CSVReader
Incredibly basic CSV reader.
CSVWriter
Flexible CSV writer, wherein one can specify the dialect and optional column headers
Dialect
A dialect represents the variations in how this record/field format can be encoded.
Row
A row represents a single Map line from a CSV table

Enums§

CSVErrorType
Token
Output from the Tokenizers as they detects individual tokens from the input stream.

Constants§

EXCEL_DIALECT
Microsoft Excel tokenizer, effectively the same as RFC4180.
EXCEL_TAB_DIALECT
Excel tab dialect, uses ‘\r\n’ for newlines and ‘\t’ for the field separator.
PIPE_FIELD_DIALECT
Piped Field Dialect, uses vertical pipes ‘|’ for the field separators
RFC4180_DIALECT
RFC4180 Dialect, uses the industry defaults ‘\r\n’ for record separator, and ‘,’ for field separator.
UNIX_DIALECT
Standard unix dialect, uses ‘\n’ instead of CRLF for line separators.
UNIX_TAB_DIALECT
Tab dialect, uses ‘\n’ for newlines and ‘\t’ for the field separator.

Traits§

TokenReader
A Token Reader reads tokens from input stream
TokenWriter
A Token Writer writes the set of specified tokens to the output stream