pub struct ReliableWriterConfig {
pub guid: Guid,
pub vendor_id: VendorId,
pub reader_proxies: Vec<ReaderProxy>,
pub max_samples: usize,
pub history_kind: HistoryKind,
pub heartbeat_period: Duration,
pub fragment_size: u32,
pub mtu: usize,
}Expand description
Konfiguration beim Anlegen.
Fields§
§guid: GuidGUID des Writer-Endpoints.
vendor_id: VendorIdVendorId fuer den RTPS-Header.
reader_proxies: Vec<ReaderProxy>Initiale Reader-Proxies. Weitere via add_reader_proxy.
max_samples: usizeAbsolute Obergrenze fuer Cache-Eintraege. Wirkt als Kapazitaet;
die Semantik bei Ueberlauf ist von history_kind
bestimmt.
history_kind: HistoryKindHistory-QoS:
KeepAll: write() schlaegt bei Overflow fehl (No-Loss-Szenarien, z.B. Logging).KeepLast { depth }: aeltestes Sample faellt bei Overflow raus (Spec-Default; Stalled Reader blockt nicht die ganze Pipeline).
heartbeat_period: DurationHeartbeat-Periode (Default: 1 s).
fragment_size: u32Fragment-Size in Bytes (DEFAULT_FRAGMENT_SIZE).
mtu: usizeMTU fuer Submessage-Aggregation ([DEFAULT_MTU]).
Trait Implementations§
Source§impl Clone for ReliableWriterConfig
impl Clone for ReliableWriterConfig
Source§fn clone(&self) -> ReliableWriterConfig
fn clone(&self) -> ReliableWriterConfig
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 moreAuto Trait Implementations§
impl Freeze for ReliableWriterConfig
impl RefUnwindSafe for ReliableWriterConfig
impl Send for ReliableWriterConfig
impl Sync for ReliableWriterConfig
impl Unpin for ReliableWriterConfig
impl UnsafeUnpin for ReliableWriterConfig
impl UnwindSafe for ReliableWriterConfig
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