Crate zenoh_flow_runtime

Source
Expand description

This crate exposes the structures driving the execution of a data flow: the Runtime and the DataFlowInstance.

If the feature zenoh is enabled (it is by default), this crate additionally re-exports the structures from Zenoh that allow opening a Session asynchronously.

Users interested in exposing a Zenoh-Flow runtime should find everything in the Runtime and RuntimeBuilder.

Users interested in fetching the state of a data flow instance should look into the DataFlowInstance, InstanceState and InstanceStatus structures. These structures are leveraged by the zfctl command line tool.

Modules§

zenoh
A re-export of the Zenoh structures needed to open a Session asynchronously.

Structs§

DataFlowInstance
A DataFlowInstance keeps track of the parts of a data flow managed by the Zenoh-Flow runtime.
Extension
An Extension associates a file extension (e.g. .py) to a set of shared libraries.
Extensions
A convenient wrapper for a set of Extension.
InstanceStatus
The InstanceStatus provides information about the data flow instance.
Runtime
A Zenoh-Flow runtime manages a subset of the nodes of DataFlowInstance(s).
RuntimeBuilder
Builder structure to help create a Runtime.

Enums§

DataFlowErr
This enumeration defines the errors one can face when trying to access a DataFlowInstance.
InstanceState
The different states of a DataFlowInstance.