Structs§
Functions§
- Retrieves the currently configured connection to the lattice. DO NOT call this method until after the provider is running (meaning
run_provider
has been called) or this method will panic. Only in extremely rare cases should this be called manually and it will only be used by generated code - Handle provider commands in a loop.
- Initializes the host data with the provided data. This is useful for testing or if the host data is not being provided over stdin.
- Extracts trace context from incoming headers
- Loads configuration data sent from the host over stdin. The returned host data contains all the configuration information needed to connect to the lattice and any additional configuration provided to this provider (like
config_json
). - Appropriately receive a link (depending on if it’s source/target) for a provider
- Runs the provider handler given a provider implementation and a name. It returns a Future, which will become ready once shutdown signal is received.
- Serve exports of the provider using the
serve
function generated by [wit-bindgen-wrpc
]
Type Aliases§
- This is the type returned by the
serve
function generated by [wit-bindgen-wrpc
]