Skip to main content

Module zenoh

Module zenoh 

Source
Expand description

The C ABI for Zenoh key expressions.

These wrap [pamoja_zenoh::keyexpr] for callers that reach the SDK through the flat C boundary. A key expression is how a Zenoh network addresses data: a slash-separated path that may carry the * and ** wildcards, so one subscriber can name a whole subtree of a fleet rather than each node in it.

Only the naming rules cross. Running a Zenoh session needs the std-only zenoh stack, which stays behind the crate’s runtime feature and out of the shipped libraries, so a caller who wants a live session uses the Rust crate.

Functions§

pamoja_keyexpr_canonize⚠
Rewrites a key expression into its canonical form.
pamoja_keyexpr_includes⚠
Reports whether one key expression selects every key another one selects.
pamoja_keyexpr_intersects⚠
Reports whether two key expressions share at least one key.
pamoja_keyexpr_is_canon⚠
Reports whether a key expression is already in its canonical form.
pamoja_keyexpr_is_valid⚠
Reports whether a key expression is well formed.
pamoja_keyexpr_join⚠
Joins two key expressions with a / and canonizes the result.
pamoja_keyexpr_matches⚠
Reports whether a pattern selects a key.