pub struct SampleIdentityBytes {
pub writer_guid: [u8; 16],
pub sequence_number: u64,
}Expand description
Wire-Repraesentation einer SampleIdentity (DDS-RPC 1.0 §7.5.1.1.1).
Identisch zum Layout in zerodds-rpc::common_types::SampleIdentity, hier
aber als reiner Byte-Helper modelliert — zerodds-rtps darf nicht auf
zerodds-rpc zurueckgreifen (Crate-Abhaengigkeitsrichtung).
Fields§
§writer_guid: [u8; 16]16 byte writer-GUID.
sequence_number: u6464-bit Sequence-Number.
Implementations§
Trait Implementations§
Source§impl Clone for SampleIdentityBytes
impl Clone for SampleIdentityBytes
Source§fn clone(&self) -> SampleIdentityBytes
fn clone(&self) -> SampleIdentityBytes
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 SampleIdentityBytes
impl Debug for SampleIdentityBytes
Source§impl Default for SampleIdentityBytes
impl Default for SampleIdentityBytes
Source§fn default() -> SampleIdentityBytes
fn default() -> SampleIdentityBytes
Returns the “default value” for a type. Read more
Source§impl Hash for SampleIdentityBytes
impl Hash for SampleIdentityBytes
Source§impl PartialEq for SampleIdentityBytes
impl PartialEq for SampleIdentityBytes
Source§fn eq(&self, other: &SampleIdentityBytes) -> bool
fn eq(&self, other: &SampleIdentityBytes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SampleIdentityBytes
impl Eq for SampleIdentityBytes
impl StructuralPartialEq for SampleIdentityBytes
Auto Trait Implementations§
impl Freeze for SampleIdentityBytes
impl RefUnwindSafe for SampleIdentityBytes
impl Send for SampleIdentityBytes
impl Sync for SampleIdentityBytes
impl Unpin for SampleIdentityBytes
impl UnsafeUnpin for SampleIdentityBytes
impl UnwindSafe for SampleIdentityBytes
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