🧬nexus_interface::meta_schema
Struct PortSchema
One directional Tool port contract.
Struct OutputVariantSchema
One mutually exclusive Tool output alternative.
Struct MetaSchema
Immutable execution contract registered for one Tool.
Struct PortInputCommitment
Transient serialization-only binding between one immutable port name and its value commitment.
Enum ValueKind
Execution-relevant class of one typed value.
Enum PortCommitment
Transient serialization-only commitment for one immutable-schema port.
Constants
Function value_kind_object
Function value_kind_data
Function port_schema
Function output_variant_schema
Function new
Function assert_valid_for_tool
Function conforms_input_cardinality
Checks whether the One/Many variant matches the schema cardinality.
Function store_input
Validates untrusted typed values against one port schema and constructs canonical data.
Function conforms_input_port
Checks canonical cardinality and semantic kind directly from stored values.
Function conforms_complete_input
Checks complete canonical inputs in immutable schema order.
Function conforms_raw_output
Checks an exact ordered canonical output envelope.
Function canonical_schema_mismatch_failure
Builds the canonical schema-mismatch output through the typed active builder.
Function port_commitment_one
Function port_commitment_many
Function input_hash
Hashes canonical schema-ordered name/commitment pairs shared by Nexus and on-chain Tools.
Function input_hash_for_stored
Validates complete persisted canonical inputs and derives the shared input hash.
Function input_ports
Function port_name
Function port_is_many
Function find_input_port
Function find_variant_port
Function value_kinds_compatible
Function failure_variant
Function failure_port
Last updated

