Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

💾data

Enum NexusData

One execution value or a non-empty ordered collection of execution values.

Variants

Enum NexusValue

One typed execution value. Inline and Walrus-backed values both have schema kind Data.

Variants

Variant Objectid: sui::object::IDVariant InlineDatabytes: vector<u8>Variant WalrusDatablob_id: vector<u8>content_digest: vector<u8>

Constants

Function object_value

Creates a checked Object value.

Function inline_data_value

Creates checked inline Data.

Function walrus_data_value

Creates checked digest-bound Walrus Data.

Function one

Creates one checked canonical value.

Function many

Creates a checked non-empty homogeneous ordered value collection.

Function split_many

Splits Many into one canonical One per ordered value.

Function collect_ones

Collects canonical One values into one canonical Many while preserving order.

Function is_many

Returns whether the enum is Many.

Function values

Copies the ordered values while preserving One-versus-Many on the source value.

Function into_values

Consumes the canonical value and returns its ordered values.

Function inline_data_bytes

Returns inline bytes for One InlineData, or none for other value shapes.

Function object_ids

Returns ordered Object IDs, or none when any stored value is not Object.

Function value_is_object

Returns true when the value is Object.

Function value_is_inline_data

Returns true when the value is InlineData.

Function values_are_object

Returns true when every value is Object.

Function values_are_data

Returns true when every value is inline or Walrus-backed Data.

Function value_content_commitment

Returns the Tool-visible content commitment of one checked value.

Last updated