#[non_exhaustive]pub struct DiscoveredEndpoint {
pub guid: Guid,
pub participant_guid: Guid,
pub topic_name: String,
pub type_name: String,
pub reliability: ReliabilityKind,
pub durability: DurabilityKind,
pub user_data: Vec<u8>,
}Expand description
A writer or reader of another participant, as discovered with SEDP
(DDSI-RTPS 2.5, 8.5.4): part of the PublicationBuiltinTopicData or
SubscriptionBuiltinTopicData of DDS 1.4 (2.2.5).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.guid: GuidThe endpoint’s GUID (key).
participant_guid: GuidThe GUID of its participant (participant_key).
topic_name: StringThe topic name.
type_name: StringThe type name.
reliability: ReliabilityKindRELIABILITY.
durability: DurabilityKindDURABILITY.
user_data: Vec<u8>USER_DATA: octets for the application (ROS 2 puts
typehash=...; there).
Trait Implementations§
Source§impl Clone for DiscoveredEndpoint
impl Clone for DiscoveredEndpoint
Source§impl Debug for DiscoveredEndpoint
impl Debug for DiscoveredEndpoint
impl Eq for DiscoveredEndpoint
Source§impl From<&EndpointData> for DiscoveredEndpoint
impl From<&EndpointData> for DiscoveredEndpoint
Source§fn from(d: &EndpointData) -> Self
fn from(d: &EndpointData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DiscoveredEndpoint
impl PartialEq for DiscoveredEndpoint
impl StructuralPartialEq for DiscoveredEndpoint
Auto Trait Implementations§
impl Forget for DiscoveredEndpoint
impl Freeze for DiscoveredEndpoint
impl Move for DiscoveredEndpoint
impl RefUnwindSafe for DiscoveredEndpoint
impl Send for DiscoveredEndpointwhere
RawVecInner: Send,
impl Sync for DiscoveredEndpointwhere
RawVecInner: Sync,
impl Unpin for DiscoveredEndpoint
impl UnsafeUnpin for DiscoveredEndpoint
impl UnwindSafe for DiscoveredEndpointwhere
RawVecInner: UnwindSafe,
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