Skip to main content

Crate chaincodec_core

Crate chaincodec_core 

Source
Expand description

§chaincodec-core

Core traits, types, and primitives shared across all ChainCodec crates. Every chain decoder, registry, and streaming engine is built on top of the interfaces defined here.

Re-exports§

pub use call::DecodedCall;
pub use call::DecodedConstructor;
pub use call::HumanReadable;
pub use chain::ChainFamily;
pub use chain::ChainId;
pub use decoder::ChainDecoder;
pub use decoder::ProgressCallback;
pub use error::BatchDecodeError;
pub use error::DecodeError;
pub use error::RegistryError;
pub use error::StreamError;
pub use event::DecodedEvent;
pub use event::EventFingerprint;
pub use event::RawEvent;
pub use schema::Schema;
pub use schema::SchemaRegistry;
pub use types::CanonicalType;
pub use types::NormalizedValue;

Modules§

call
Types for decoded function calls and constructor invocations.
chain
Chain family and identifier types.
decoder
The core ChainDecoder trait and associated progress/batch types.
error
Error types for the ChainCodec decode pipeline.
event
Raw and decoded event types.
schema
Schema types — the in-memory representation of a parsed CSDL schema.
types
Cross-chain type normalization.