Skip to main content

Crate cu29_value

Crate cu29_value 

Source
Expand description

A Copper-oriented value tree used for serialization, logging, and reflection bridges.

The type is a forked/adapted serde-value-style representation with Copper-specific additions such as Value::CuTime.

When the python feature is enabled, this crate also exposes helpers for converting between Value and Python objects through PyO3. Those helpers are used by:

  • cu-python-task for runtime prototyping across the Rust/Python boundary
  • cu29-export for offline Python log analysis

The Python bridge is intentionally conservative:

Structs§

ValueDeserializer
ValueVisitor

Enums§

DeserializerError
Quantity
Copper’s supported physical quantities, independent of scalar width.
QuantityMetadata
A physical quantity associated with a compatible storage unit.
RecordShape
Exported shape of an aggregate.
Scalar
Scalar width and signedness. Integer encoding and endianness come from the codec configuration.
SerializerError
StorageUnit
Physical storage unit, with coherent units identified by their quantity.
TimeStorageUnit
Storage choices for Copper time quantities.
Unexpected
Value
ValueMetadata
Copper-owned logical metadata attached to a value’s schema.

Functions§

to_value