Skip to main content

Module limits

Module limits 

Source
Expand description

Shared string-length and resource caps used by the Rust, C, and C++ APIs.

These values are structural — changing any of them alters the layout of #[repr(C)] handle types in the C/C++ bindings and requires recompiling both Rust and C/C++ code.

Constants§

MAX_ACTION_NAME_LEN
Maximum length of an action name.
MAX_CONCURRENT_GOALS
Maximum number of concurrent goals per action server.
MAX_LOCATOR_LEN
Maximum length of a zenoh locator string (e.g., tcp/127.0.0.1:7447).
MAX_NAMESPACE_LEN
Maximum length of a node namespace.
MAX_NAME_LEN
Maximum length of a node name.
MAX_SERVICE_NAME_LEN
Maximum length of a service name.
MAX_TOPIC_LEN
Maximum length of a topic name.
MAX_TYPE_HASH_LEN
Maximum length of a type hash (RIHS format).
MAX_TYPE_NAME_LEN
Maximum length of a type name (e.g., std_msgs::msg::dds_::Int32_).