Skip to main content

Module wire_function

Module wire_function 

Source

Enums§

FallbackPolicy
Fallback behavior when a wire function fails at runtime.
PluginKind
Plugin kind/slot type. Used by PDK macros and host-side plugin dispatch. Note: Kind is NOT embedded in the custom section (duck typing); it’s inferred from declared functions or provided explicitly by PDK macro hints.

Traits§

WireFunction
Type-level specification for a wire function exported by a plugin.

Functions§

all_wire_functions
List of all valid wire function names in the system.
allowed_functions_for_kind
Returns the set of wire functions ALLOWED for a plugin of the given kind. A plugin may implement any subset of allowed functions; at minimum, it must implement all required functions.
required_functions_for_kind
Returns the set of wire functions REQUIRED for a plugin of the given kind.