pub struct LocatorUdpV4 {
pub address: u32,
pub port: u32,
}Expand description
The compact UDPv4 locator of INFO_REPLY_IP4 (DDSI-RTPS 2.5, 9.4.3.1).
The specification gives both fields as unsigned long and does not say
how address maps to dotted notation. LocatorUdpV4::ip reads it
with a as the most significant octet; this needs to be checked
against other implementations (rustorb-dds#8).
Fields§
§address: u32The IPv4 address as a 32-bit number.
port: u32The port.
Implementations§
Trait Implementations§
Source§impl Clone for LocatorUdpV4
impl Clone for LocatorUdpV4
impl Copy for LocatorUdpV4
Source§impl Debug for LocatorUdpV4
impl Debug for LocatorUdpV4
Source§impl Default for LocatorUdpV4
impl Default for LocatorUdpV4
impl Eq for LocatorUdpV4
Source§impl Hash for LocatorUdpV4
impl Hash for LocatorUdpV4
Source§impl PartialEq for LocatorUdpV4
impl PartialEq for LocatorUdpV4
impl StructuralPartialEq for LocatorUdpV4
Auto Trait Implementations§
impl Forget for LocatorUdpV4
impl Freeze for LocatorUdpV4
impl Move for LocatorUdpV4
impl RefUnwindSafe for LocatorUdpV4
impl Send for LocatorUdpV4
impl Sync for LocatorUdpV4
impl Unpin for LocatorUdpV4
impl UnsafeUnpin for LocatorUdpV4
impl UnwindSafe for LocatorUdpV4
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