Skip to main content

Module external_value

Module external_value 

Source
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§

NoSchemaLookup
A no-op schema lookup for contexts where schema info is unavailable. TypedObjects will be converted with placeholder names.

Enums§

ExternalValue
A serde-serializable value with no VM internals.

Traits§

SchemaLookup
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.