pub struct CoherentSetMarker {
pub set_first_sn: CoherentSequenceNumber,
}Expand description
Wire-Repraesentation eines PID_COHERENT_SET-Eintrags. Wird vom
DataWriter in die Inline-QoS einer DATA-Submessage geschrieben.
Fields§
§set_first_sn: CoherentSequenceNumberSequenceNumber des ersten Sample im Coherent-Set.
Implementations§
Source§impl CoherentSetMarker
impl CoherentSetMarker
Sourcepub fn to_wire_bytes(&self) -> [u8; 8]
pub fn to_wire_bytes(&self) -> [u8; 8]
8-byte Wire-Repraesentation (BE — entspricht
SequenceNumber::to_bytes_be).
Sourcepub fn from_wire_bytes(bytes: &[u8; 8]) -> Self
pub fn from_wire_bytes(bytes: &[u8; 8]) -> Self
Decode aus 8 byte BE.
Trait Implementations§
Source§impl Clone for CoherentSetMarker
impl Clone for CoherentSetMarker
Source§fn clone(&self) -> CoherentSetMarker
fn clone(&self) -> CoherentSetMarker
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 CoherentSetMarker
impl Debug for CoherentSetMarker
Source§impl Hash for CoherentSetMarker
impl Hash for CoherentSetMarker
Source§impl PartialEq for CoherentSetMarker
impl PartialEq for CoherentSetMarker
Source§fn eq(&self, other: &CoherentSetMarker) -> bool
fn eq(&self, other: &CoherentSetMarker) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CoherentSetMarker
impl Eq for CoherentSetMarker
impl StructuralPartialEq for CoherentSetMarker
Auto Trait Implementations§
impl Freeze for CoherentSetMarker
impl RefUnwindSafe for CoherentSetMarker
impl Send for CoherentSetMarker
impl Sync for CoherentSetMarker
impl Unpin for CoherentSetMarker
impl UnsafeUnpin for CoherentSetMarker
impl UnwindSafe for CoherentSetMarker
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