Crate zenoh_flow_commons
source ·Expand description
This crate centralises structures that are shared across Zenoh-Flow.
⚠️ This crate is intended for internal usage within Zenoh-Flow. All structures that are exposed in public facing API are re-exposed in the relevant crates.
Structs§
- A
Configurationis a recursive key-value structure that allows modifying the behaviour of a node without altering its implementation. - An
InstanceIduniquely identifies a data flow instance. - A
NodeIduniquely identifies a Node within a data flow. - A
PortIdidentifies anInputor anOutputof a Node. - A
RuntimeIduniquely identifies a Zenoh-Flow runtime within a Zenoh network. - Structure to configure how Zenoh-Flow uses the shared memory feature provided by Zenoh.
Varsis an internal structure that we use to expand the “moustache variables” in a descriptor file.
Traits§
- Types which can be combined with another instance of the same type and for which, in case there are common elements, the elements of
selfwould be kept over those held byother.
Functions§
- Parse a single Var from a string of the format “KEY=VALUE”.
- Attempts to parse an instance of
Nfrom the content of the file located atpath, overwriting (or complementing) the Vars declared in said file with the providedvars.
Type Aliases§
- Zenoh-Flow’s result type.