Module zenoh::utils [−][src]
Expand description
Some useful operations for the zenoh API.
Functions
Generates a reception Timestamp
with id=0x00.
This operation should be called if a timestamp is required for an incoming zenoh::net::Sample
that doesn’t contain any data_info or timestamp within its data_info.
Convert a set of Properties
into a Value::Json
.
For instance such Properties: [("k1", "v1"), ("k2, v2")]
are converted into such Json: { "k1": "v1", "k2": "v2" }