#[repr(i32)]pub enum LocatorKind {
Invalid = -1,
Reserved = 0,
UdpV4 = 1,
UdpV6 = 2,
Tcpv4 = 4,
Tcpv6 = 8,
Shm = -2_130_706_432,
Uds = -2_130_706_431,
Tsn = -2_130_706_430,
}Expand description
LocatorKind: address family of a locator.
Variants§
Invalid = -1
Reserved = 0
UdpV4 = 1
UdpV6 = 2
Tcpv4 = 4
TCPv4 (DDS-TCP-PSM §4 LOCATOR_KIND_TCPV4).
Tcpv6 = 8
TCPv6 (DDS-TCP-PSM §4 LOCATOR_KIND_TCPV6).
Shm = -2_130_706_432
Shared memory (vendor range, MSB=1 per DDSI-RTPS §9.3.1.2 —
negative i32 values are vendor-specific). 0x8100_0000 as the
ZeroDDS vendor token; Cyclone + Fast-DDS ignore unknown
kinds.
Uds = -2_130_706_431
Unix domain socket (vendor range, ZeroDDS extension for
containerized IPC when multicast is blocked or POSIX SHM
does not work cross-container). 0x8100_0001. The 16-byte
address field carries an identifier that is resolved into a socket path
under a configurable base directory
(/tmp/zerodds/uds/<hex>.sock).
Tsn = -2_130_706_430
Time-Sensitive-Networking L2 endpoint (vendor range, ZeroDDS
extension for DDS-TSN 1.0 Annex A — RTPS-over-Ethernet with
EtherType 0x88B5). 0x8100_0002. The 16-byte address field
carries the destination MAC (bytes 0..6) + optional VLAN VID
(bytes 6..8, big-endian).
Implementations§
Trait Implementations§
Source§impl Clone for LocatorKind
impl Clone for LocatorKind
Source§fn clone(&self) -> LocatorKind
fn clone(&self) -> LocatorKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more