Re-exports

pub use data_source::IonDataSource;
pub use types::decimal::Decimal;
pub use types::integer::Integer;
pub use types::timestamp::Timestamp;
pub use types::IonType;
pub use binary::binary_writer::BinaryWriter;
pub use binary::binary_writer::BinaryWriterBuilder;
pub use binary::raw_binary_writer::RawBinaryWriter;
pub use raw_reader::RawReader;
pub use raw_reader::RawStreamItem;
pub use text::raw_text_reader::RawTextReader;
pub use text::raw_text_writer::RawTextWriter;
pub use text::raw_text_writer::RawTextWriterBuilder;
pub use result::IonError;
pub use result::IonResult;

Modules

This module provides the necessary structures and logic to read values from a binary Ion data stream.

Re-exports of third party dependencies that are part of our public API.

This module provides an implementation of the data types described by the Ion Data Model section of the Ion 1.0 spec.

Provides a in-memory tree representation of Ion values that can be operated on in a dynamically typed way.

Structs

Configures and constructs new instances of Reader.

The text of a fully resolved field name, annotation, or symbol value. The text stored in this Symbol may be either a String or a shared reference to text in a symbol table.

Stores mappings from Symbol IDs to text and vice-versa.

A streaming Ion reader that:

An application-level text Ion writer. This writer manages a symbol table and so can convert symbol IDs to their corresponding text. However, unlike the BinaryWriter, it is capable of writing text to the output stream without first adding it to the symbol table.

A streaming Ion reader that resolves symbol IDs into their corresponding text.

Enums

A symbol token encountered in a text or binary Ion stream. RawSymbolTokens do not store import source information for the token encountered. Similarly, a RawSymbolToken cannot store both a symbol ID and text, which means that it is not suitable for representing a resolved symbol.

Like RawSymbolToken, but the Text variant holds a borrowed reference instead of a String.

Stream components that an application-level Reader implementation may encounter.

Raw stream elements that a SystemReader may encounter.

Traits

This trait captures the format-agnostic parser functionality needed to navigate within an Ion stream and read the values encountered into native Rust data types.

This trait captures the format-agnostic encoding functionality needed to write native Rust types to a stream as Ion values.

Type Definitions

A Reader that uses dynamic dispatch to abstract over the format (text or binary) being read by an underlying RawReader.