#[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 moreimpl Copy for LocatorKind
Source§impl Debug for LocatorKind
impl Debug for LocatorKind
impl Eq for LocatorKind
Source§impl Hash for LocatorKind
impl Hash for LocatorKind
Source§impl Ord for LocatorKind
impl Ord for LocatorKind
Source§fn cmp(&self, other: &LocatorKind) -> Ordering
fn cmp(&self, other: &LocatorKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for LocatorKind
impl PartialEq for LocatorKind
Source§fn eq(&self, other: &LocatorKind) -> bool
fn eq(&self, other: &LocatorKind) -> bool
self and other values to be equal, and is used by ==.