#[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,
}Expand description
LocatorKind: Adress-Familie eines Locators.
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 laut DDSI-RTPS §9.3.1.2 —
negative i32-Werte sind vendor-spezifisch). 0x8100_0000 als
ZeroDDS-Vendor-Token; Cyclone + Fast-DDS ignorieren unbekannte
Kinds.
Uds = -2_130_706_431
Unix-Domain-Socket (Vendor-Range, ZeroDDS-Extension fuer
Containerized-IPC wenn Multicast gesperrt oder POSIX-SHM
cross-container nicht funktioniert). 0x8100_0001. 16-byte
Address-Feld traegt einen Identifier, der in einen Socket-Pfad
unter einem konfigurierbaren Base-Directory aufgeloest wird
(/tmp/zerodds/uds/<hex>.sock).
Implementations§
Trait Implementations§
Source§impl Clone for LocatorKind
impl Clone for LocatorKind
Source§fn clone(&self) -> LocatorKind
fn clone(&self) -> LocatorKind
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 moreSource§impl Debug for LocatorKind
impl Debug 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,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocatorKind
impl PartialEq for LocatorKind
Source§fn eq(&self, other: &LocatorKind) -> bool
fn eq(&self, other: &LocatorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LocatorKind
impl PartialOrd for LocatorKind
impl Copy for LocatorKind
impl Eq for LocatorKind
impl StructuralPartialEq for LocatorKind
Auto Trait Implementations§
impl Freeze for LocatorKind
impl RefUnwindSafe for LocatorKind
impl Send for LocatorKind
impl Sync for LocatorKind
impl Unpin for LocatorKind
impl UnsafeUnpin for LocatorKind
impl UnwindSafe for LocatorKind
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