pub struct RtpsHeader {
pub protocol_version: ProtocolVersion,
pub vendor_id: VendorId,
pub guid_prefix: GuidPrefix,
}Expand description
RTPS-Header (20 Byte fix).
Fields§
§protocol_version: ProtocolVersionProtokoll-Version (default: 2.5).
vendor_id: VendorIdVendor-Identifier.
guid_prefix: GuidPrefixParticipant-Prefix.
Implementations§
Source§impl RtpsHeader
impl RtpsHeader
Trait Implementations§
Source§impl Clone for RtpsHeader
impl Clone for RtpsHeader
Source§fn clone(&self) -> RtpsHeader
fn clone(&self) -> RtpsHeader
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 RtpsHeader
impl Debug for RtpsHeader
Source§impl Hash for RtpsHeader
impl Hash for RtpsHeader
Source§impl PartialEq for RtpsHeader
impl PartialEq for RtpsHeader
Source§fn eq(&self, other: &RtpsHeader) -> bool
fn eq(&self, other: &RtpsHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RtpsHeader
impl Eq for RtpsHeader
impl StructuralPartialEq for RtpsHeader
Auto Trait Implementations§
impl Freeze for RtpsHeader
impl RefUnwindSafe for RtpsHeader
impl Send for RtpsHeader
impl Sync for RtpsHeader
impl Unpin for RtpsHeader
impl UnsafeUnpin for RtpsHeader
impl UnwindSafe for RtpsHeader
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