pub struct StreamTiming {
pub retry: Duration,
pub heartbeat: Duration,
pub idle_timeout: Duration,
pub open_timeout: Duration,
pub backoff_base: Duration,
pub backoff_cap: Duration,
pub min_gap: Duration,
pub stable_after: Duration,
pub retry_max: Duration,
pub retry_after_max: Duration,
pub replay_window: Duration,
}Expand description
The stream’s times.
Fields§
§retry: DurationThe reconnection time before the stream sends a retry: of its own.
heartbeat: DurationHow often the server sends a heartbeat comment when idle.
idle_timeout: DurationSilence after which a connection is taken for dead.
open_timeout: DurationBound on a connect, up to the response headers.
backoff_base: DurationFirst step of the random part of the reconnect wait.
backoff_cap: DurationLargest step of the random part of the reconnect wait.
min_gap: DurationSmallest wait between two connects.
stable_after: DurationA connection open this long resets the failure count.
retry_max: DurationClamp on a server-sent retry:.
retry_after_max: DurationClamp on a server-sent Retry-After.
replay_window: DurationHow long wuapi keeps events: a cursor older than this never resumes. A resume is guaranteed only within 28 minutes of it.
Trait Implementations§
Source§impl Clone for StreamTiming
impl Clone for StreamTiming
Source§impl Debug for StreamTiming
impl Debug for StreamTiming
impl Eq for StreamTiming
Source§impl PartialEq for StreamTiming
impl PartialEq for StreamTiming
impl StructuralPartialEq for StreamTiming
Auto Trait Implementations§
impl Freeze for StreamTiming
impl RefUnwindSafe for StreamTiming
impl Send for StreamTiming
impl Sync for StreamTiming
impl Unpin for StreamTiming
impl UnsafeUnpin for StreamTiming
impl UnwindSafe for StreamTiming
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.