Struct rtps_parser::rtps::types::Locator
source · pub struct Locator { /* private fields */ }
Expand description
Locator_t Type used to represent the addressing information needed to send a message to an RTPS Endpoint using one of the supported transports. Should be able to hold a discriminator identifying the kind of transport, an address, and a port number. It must be possible to represent the discriminator and port number using 4 octets each, the address using 16 octets. The following values are reserved by the protocol: LOCATOR_INVALID LOCATOR_KIND_INVALID LOCATOR_KIND_RESERVED LOCATOR_KIND_UDP_V4 LOCATOR_KIND_UDP_V6 LOCATOR_ADDRESS_INVALID LOCATOR_PORT_INVALID
Implementations§
Trait Implementations§
source§impl<'__de> CdrDeserialize<'__de> for Locator
impl<'__de> CdrDeserialize<'__de> for Locator
fn deserialize( deserializer: &mut impl CdrDeserializer<'__de> ) -> Result<Self, Error>
source§impl CdrSerialize for Locator
impl CdrSerialize for Locator
source§impl PartialEq for Locator
impl PartialEq for Locator
source§impl WriteBytes for Locator
impl WriteBytes for Locator
fn write_bytes(&self, buf: &mut [u8]) -> usize
impl Copy for Locator
impl Eq for Locator
impl StructuralEq for Locator
impl StructuralPartialEq for Locator
Auto Trait Implementations§
impl RefUnwindSafe for Locator
impl Send for Locator
impl Sync for Locator
impl Unpin for Locator
impl UnwindSafe for Locator
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