pub struct TransportConnectionConfig {
pub long_poll_timeout_secs: u64,
pub sse_reconnect_interval_secs: u64,
}Expand description
Connection-level settings.
Fields§
§long_poll_timeout_secs: u64Long-poll timeout used by GET ?live=long-poll.
sse_reconnect_interval_secs: u64SSE reconnect interval in seconds (0 disables forced reconnects).
Trait Implementations§
Source§impl Clone for TransportConnectionConfig
impl Clone for TransportConnectionConfig
Source§fn clone(&self) -> TransportConnectionConfig
fn clone(&self) -> TransportConnectionConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 TransportConnectionConfig
impl Debug for TransportConnectionConfig
impl Eq for TransportConnectionConfig
impl StructuralPartialEq for TransportConnectionConfig
Auto Trait Implementations§
impl Freeze for TransportConnectionConfig
impl RefUnwindSafe for TransportConnectionConfig
impl Send for TransportConnectionConfig
impl Sync for TransportConnectionConfig
impl Unpin for TransportConnectionConfig
impl UnsafeUnpin for TransportConnectionConfig
impl UnwindSafe for TransportConnectionConfig
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.