#[repr(C)]pub struct rmw_topic_endpoint_info_t {
pub node_name: *const c_char,
pub node_namespace: *const c_char,
pub topic_type: *const c_char,
pub endpoint_type: Type,
pub endpoint_gid: rmw_gid_t,
pub qos_profile: rmw_qos_profile_t,
}Expand description
One discovered endpoint — upstream rmw_topic_endpoint_info_t.
Every string is BORROWED for the duration of the visit that hands this out; a caller that needs one past the callback copies it. That is what lets the graph slots stream without an allocator.
Fields§
§node_name: *const c_charNode that owns the endpoint.
node_namespace: *const c_charThat node’s namespace.
topic_type: *const c_charFully-qualified type on the wire, e.g. "std_msgs/msg/Int32".
endpoint_type: TypePublisher or subscription.
endpoint_gid: rmw_gid_tThe endpoint’s identity; data all-zero when the backend has none.
qos_profile: rmw_qos_profile_tThe GRANTED profile, not the requested one — which is the whole reason a consumer asks. A backend that cannot read back a remote’s granted QoS reports what it MATCHED on, and must not substitute the local entity’s requested profile.
Trait Implementations§
Source§impl Clone for rmw_topic_endpoint_info_t
impl Clone for rmw_topic_endpoint_info_t
Source§fn clone(&self) -> rmw_topic_endpoint_info_t
fn clone(&self) -> rmw_topic_endpoint_info_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for rmw_topic_endpoint_info_t
Auto Trait Implementations§
impl !Send for rmw_topic_endpoint_info_t
impl !Sync for rmw_topic_endpoint_info_t
impl Freeze for rmw_topic_endpoint_info_t
impl RefUnwindSafe for rmw_topic_endpoint_info_t
impl Unpin for rmw_topic_endpoint_info_t
impl UnsafeUnpin for rmw_topic_endpoint_info_t
impl UnwindSafe for rmw_topic_endpoint_info_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more