Skip to main content

Module options

Module options 

Source
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§

DecodeOptions
Options for decoding operations
EncodeOptions
Options for encoding operations
ParseCodecOptionError
Error returned when a textual codec option is unsupported.

Enums§

CodecOptionKind
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.
FloatFormat
Floating-point binary format for COMP-1/COMP-2 fields.
JsonNumberMode
JSON number representation mode
RawMode
Raw data capture mode
RecordFormat
Record format specification
UnmappablePolicy
Policy for handling unmappable characters during codepage conversion. Policy for handling characters that have no mapping.