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
Configuration at creation.
Fields§
§guid: GuidGUID of the writer endpoint.
vendor_id: VendorIdVendorId for the RTPS header.
reader_proxies: Vec<ReaderProxy>Initial reader proxies. More via add_reader_proxy.
max_samples: usizeAbsolute upper bound for cache entries. Acts as a capacity;
the semantics on overflow are determined by history_kind.
history_kind: HistoryKindHistory QoS:
KeepAll: write() fails on overflow (no-loss scenarios, e.g. logging).KeepLast { depth }: the oldest sample drops out on overflow (spec default; a stalled reader does not block the whole pipeline).
heartbeat_period: DurationHeartbeat period (default: 1 s).
fragment_size: u32Fragment size in bytes (DEFAULT_FRAGMENT_SIZE).
mtu: usizeMTU for 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