Module ion_rs::result[][src]

Enums

IonError

Represents the different types of high-level failures that might occur when reading Ion data.

Functions

decoding_error

A convenience method for creating an IonResult containing an IonError::DecodingError with the provided description text.

decoding_error_raw

A convenience method for creating an IonError::DecodingError with the provided operation text. Useful for calling Option#ok_or_else.

illegal_operation

A convenience method for creating an IonResult containing an IonError::IllegalOperation with the provided operation text.

illegal_operation_raw

A convenience method for creating an IonError::IllegalOperation with the provided operation text. Useful for calling Option#ok_or_else.

Type Definitions

IonResult

A unified Result type representing the outcome of method calls that may fail.