Expand description
Configuration types: codepage, record format, JSON modes, raw capture. Configuration option types owned by the codec runtime.
This crate defines DecodeOptions, EncodeOptions, RecordFormat,
JsonNumberMode, RawMode, and FloatFormat — the common configuration
surface used by the codec and CLI layers. The former copybook-options
package forwards to this module for compatibility.
Re-exports§
pub use crate::numeric::ZonedEncodingFormat;
Structs§
- Decode
Options - Options for decoding operations
- Encode
Options - Options for encoding operations
- Parse
Codec Option Error - Error returned when a textual codec option is unsupported.
Enums§
- Codec
Option Kind - Codec option family whose textual value could not be parsed.
- Codepage
- Codepage identifier for EBCDIC/ASCII character encoding. Character encoding specification supported by copybook-rs.
- Float
Format - Floating-point binary format for COMP-1/COMP-2 fields.
- Json
Number Mode - JSON number representation mode
- RawMode
- Raw data capture mode
- Record
Format - Record format specification
- Unmappable
Policy - Policy for handling unmappable characters during codepage conversion. Policy for handling characters that have no mapping.