pub trait BoardConfig {
// Required methods
fn zenoh_locator(&self) -> &str;
fn domain_id(&self) -> u32;
}Expand description
Universal board configuration accessors.
Implemented by every board crate’s top-level config struct
(Config, NodeConfig, etc.). Generic code that needs to read the
Zenoh locator or the ROS 2 domain ID can take &impl BoardConfig
instead of cfg-gating on each board type.
Required Methods§
Sourcefn zenoh_locator(&self) -> &str
fn zenoh_locator(&self) -> &str
Zenoh router/peer locator string (e.g. "tcp/192.168.1.50:7447").