Expand description
ExternalValue: a serde-serializable value for display, wire, and debug.
ExternalValue is the canonical format for values that cross system boundaries:
- Wire serialization (JSON, MessagePack, etc.)
- Debugger display
- REPL output
- Remote protocol
It contains NO function refs, closures, raw pointers, or VM internals. All variants are safe to serialize with serde.
Structs§
- NoSchema
Lookup - A no-op schema lookup for contexts where schema info is unavailable. TypedObjects will be converted with placeholder names.
Enums§
- External
Value - A serde-serializable value with no VM internals.
Traits§
- Schema
Lookup - Trait for looking up schema metadata from a schema_id.
Functions§
- external_
to_ nb - Convert an ExternalValue back to a ValueWord value.
- nb_
to_ external - Convert a ValueWord value to an ExternalValue.