Crate zenoh_config
source ·Expand description
Configuration to pass to zenoh::open()
and zenoh::scout()
functions and associated constants.
Re-exports§
pub use mode_dependent::*;
pub use connection_retry::*;
Modules§
- Constants and helpers for zenoh
whatami
flags.
Macros§
Structs§
- The main configuration structure for Zenoh.A
String
that respects theLocator
canon form:<proto>/<address>[?<metadata>]
, such that<metadata>
is of the form<key1>=<value1>;...;<keyN>=<valueN>
where keys are alphabetically sorted.This part of the configuration is highly dynamic (anyserde_json::Value
may be put in there), but should follow this scheme:The global unique id of a zenoh peer.Enums§
Traits§
Functions§
- Creates a default
'client'
mode zenoh net Session configuration. - Creates a default zenoh net Session configuration (equivalent to
peer
). - Creates an empty zenoh net Session configuration.
- Creates a default
'peer'
mode zenoh net Session configuration.
Type Aliases§