pub struct WriterConfig {
pub heartbeat_period: Duration,
pub nack_response_delay: Duration,
pub max_message_size: usize,
pub fragmentation: Fragmentation,
}Expand description
Timing of a ReliableWriter (8.4.7.1). All of them can be tuned, as
8.4.2.1 requires.
Fields§
§heartbeat_period: DurationHow often to send a HEARTBEAT to readers that have not acknowledged everything.
nack_response_delay: DurationHow long to wait after an ACKNACK before sending what it asks for.
max_message_size: usizeThe largest message to build, in octets. A change too large for it still goes alone in a message, unless it has to be fragmented.
fragmentation: FragmentationWhen and how to send a change as DATA_FRAG.
Trait Implementations§
Source§impl Clone for WriterConfig
impl Clone for WriterConfig
Source§impl Debug for WriterConfig
impl Debug for WriterConfig
Auto Trait Implementations§
impl Forget for WriterConfig
impl Freeze for WriterConfig
impl Move for WriterConfig
impl RefUnwindSafe for WriterConfig
impl Send for WriterConfig
impl Sync for WriterConfig
impl Unpin for WriterConfig
impl UnsafeUnpin for WriterConfig
impl UnwindSafe for WriterConfig
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