Skip to main content

Module custom_data

Module custom_data 

Source
Expand description

Host-side custom-data manifest walk.

Walks each plug-in manifest’s custom_data slice and registers a JSON deserializer with nautilus_model::data::registry so the engine can decode wire-format custom data emitted by the plug-in. The registered deserializer wraps the plug-in’s opaque handle in a host-side struct implementing CustomDataTrait and routes all trait calls back through the plug-in’s vtable.

Structs§

PluginCustomDataValue
Host-side trait-object adapter for a plug-in custom-data value.

Functions§

custom_data_boundary_ref
Returns the plug-in boundary reference for a host custom-data value.
register_custom_data_entry
Registers a single custom-data type with the model data registry.
register_custom_data_from_manifest
Walks a ValidatedPluginManifest and registers a JSON deserializer for every custom-data type the plug-in publishes.
try_custom_data_boundary_ref
Returns the plug-in boundary reference for a host custom-data value when it came from a plug-in custom-data registration.
try_historical_custom_data_boundary_ref
Returns the plug-in boundary reference for historical custom-data payloads that carry a plug-in custom-data value.