pub struct OutboundDatagram {
pub bytes: Vec<u8>,
pub targets: Rc<Vec<Locator>>,
}Expand description
Ein fertig aggregiertes Datagramm mit Zielen.
targets ist als Rc<Vec<Locator>> geteilt, um Allocation-Overhead
bei Multi-Reader-tick-Loops zu vermeiden — der gleiche Proxy-
Locator-Set wird ueber alle Submessages eines Proxies wiederverwendet.
Fields§
§bytes: Vec<u8>Wire-Bytes (RTPS-Header + N Submessages).
targets: Rc<Vec<Locator>>Ziel-Locators. Transport-Layer sendet an alle.
Trait Implementations§
Source§impl Clone for OutboundDatagram
impl Clone for OutboundDatagram
Source§fn clone(&self) -> OutboundDatagram
fn clone(&self) -> OutboundDatagram
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 OutboundDatagram
impl Debug for OutboundDatagram
Source§impl PartialEq for OutboundDatagram
impl PartialEq for OutboundDatagram
Source§fn eq(&self, other: &OutboundDatagram) -> bool
fn eq(&self, other: &OutboundDatagram) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OutboundDatagram
impl StructuralPartialEq for OutboundDatagram
Auto Trait Implementations§
impl Freeze for OutboundDatagram
impl RefUnwindSafe for OutboundDatagram
impl !Send for OutboundDatagram
impl !Sync for OutboundDatagram
impl Unpin for OutboundDatagram
impl UnsafeUnpin for OutboundDatagram
impl UnwindSafe for OutboundDatagram
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