pub struct WebSocketDeliveryConfig {
pub list_bus_capacity: usize,
pub collection_coalesce_ms: Option<u64>,
}Expand description
Buffering and latest-state delivery controls for WebSocket subscriptions.
These settings are separate from WebSocketConfig because embedded hosts
serve accepted connections without binding a listener of their own.
Fields§
§list_bus_capacity: usizeSource frames retained for each active list-view broadcast bus.
collection_coalesce_ms: Option<u64>Default fixed flush cadence for latest-state collection subscriptions.
None preserves immediate delivery unless a view overrides it.
Implementations§
Trait Implementations§
Source§impl Clone for WebSocketDeliveryConfig
impl Clone for WebSocketDeliveryConfig
Source§impl Debug for WebSocketDeliveryConfig
impl Debug for WebSocketDeliveryConfig
Source§impl Default for WebSocketDeliveryConfig
impl Default for WebSocketDeliveryConfig
impl Eq for WebSocketDeliveryConfig
Source§impl PartialEq for WebSocketDeliveryConfig
impl PartialEq for WebSocketDeliveryConfig
impl StructuralPartialEq for WebSocketDeliveryConfig
Auto Trait Implementations§
impl Freeze for WebSocketDeliveryConfig
impl RefUnwindSafe for WebSocketDeliveryConfig
impl Send for WebSocketDeliveryConfig
impl Sync for WebSocketDeliveryConfig
impl Unpin for WebSocketDeliveryConfig
impl UnsafeUnpin for WebSocketDeliveryConfig
impl UnwindSafe for WebSocketDeliveryConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.