pub struct DeliveredSample {
pub writer_id: EntityId,
pub writer_sn: SequenceNumber,
pub payload: Arc<[u8]>,
}Expand description
A DATA submessage that the reader forwards to the listener.
Fields§
§writer_id: EntityIdWriter GUID (only EntityId; the caller knows the participant via the datagram header).
writer_sn: SequenceNumberSequence number with which the writer sends the sample.
payload: Arc<[u8]>Payload bytes (XCDR2-encoded or vendor-specific),
reference-counted via Arc::clone from the 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
impl Eq for DeliveredSample
Source§impl PartialEq for DeliveredSample
impl PartialEq 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