pub struct DeliveredSample {
pub writer_id: EntityId,
pub writer_sn: SequenceNumber,
pub payload: Arc<[u8]>,
}Expand description
Eine DATA-Submessage, die der Reader an den Listener weiterreicht.
Fields§
§writer_id: EntityIdWriter-GUID (nur EntityId; der Caller kennt den Participant ueber den Datagram-Header).
writer_sn: SequenceNumberSequence-Number, mit der der Writer das Sample sendet.
payload: Arc<[u8]>Payload-Bytes (XCDR2-codiert oder vendor-spezifisch),
referenzgezaehlt via Arc::clone aus dem Cache.
Trait Implementations§
Source§impl Clone for DeliveredSample
impl Clone for DeliveredSample
Source§fn clone(&self) -> DeliveredSample
fn clone(&self) -> DeliveredSample
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 DeliveredSample
impl Debug for DeliveredSample
Source§impl PartialEq for DeliveredSample
impl PartialEq for DeliveredSample
Source§fn eq(&self, other: &DeliveredSample) -> bool
fn eq(&self, other: &DeliveredSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DeliveredSample
impl StructuralPartialEq for DeliveredSample
Auto Trait Implementations§
impl Freeze for DeliveredSample
impl RefUnwindSafe for DeliveredSample
impl Send for DeliveredSample
impl Sync for DeliveredSample
impl Unpin for DeliveredSample
impl UnsafeUnpin for DeliveredSample
impl UnwindSafe for DeliveredSample
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