pub struct QpClientConfig {
pub api_url: String,
pub reconnect_delay: Duration,
pub indicative_republish_interval: Duration,
}Expand description
Configuration for the QP WebSocket client.
Fields§
§api_url: String§reconnect_delay: Duration§indicative_republish_interval: DurationHow often the scoped runtime (crate::qp_scoped) republishes
every live slot even without changes. The server TTL-evicts rows it
has not re-received within its TTL (60s in production), so this
must stay well inside that or quiet scopes silently vanish
server-side. Duration::ZERO disables the keepalive entirely.
Ignored by the legacy raw-channel client, whose callers send their
own periodic snapshots.
Implementations§
Auto Trait Implementations§
impl Forget for QpClientConfig
impl Freeze for QpClientConfig
impl Move for QpClientConfig
impl RefUnwindSafe for QpClientConfig
impl Send for QpClientConfig
impl Sync for QpClientConfig
impl Unpin for QpClientConfig
impl UnsafeUnpin for QpClientConfig
impl UnwindSafe for QpClientConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more