ZenohexPico. Sample
(zenohex_pico v0.1.0-alpha.1)
Copy Markdown
A sample returned by a Zenoh query or delivered to a subscriber.
This struct corresponds to a Zenoh sample and contains its key expression, payload, metadata, and optional attachment or timestamp.
Summary
Types
@type t() :: %ZenohexPico.Sample{ attachment: binary() | nil, congestion_control: :block | :drop, encoding: String.t(), express: boolean(), key_expr: String.t(), kind: :put | :delete, payload: binary(), priority: :real_time | :interactive_high | :interactive_low | :data_high | :data | :data_low | :background, timestamp: String.t() | nil }