pub struct HttpNotificationOptions {
pub max_channels: usize,
pub max_queued_events: usize,
pub max_queued_bytes: usize,
pub max_transport_chunk_bytes: usize,
pub connect_timeout: Duration,
pub ready_timeout: Duration,
pub max_idle_timeout: Duration,
pub retry: Option<NotificationRetryOptions>,
}Expand description
Required caller budgets. No capacity or deployment timeout is inferred from SQL settings.
Fields§
§max_channels: usize§max_queued_events: usize§max_queued_bytes: usize§max_transport_chunk_bytes: usizeBounds the one HTTP data chunk retained by the worker, separately from the per-frame wire limit.
connect_timeout: Duration§ready_timeout: DurationBounds the entire initial attempt through ready, including connection and registration.
max_idle_timeout: DurationReject a server’s incompatible idle budget before exposing ready.
retry: Option<NotificationRetryOptions>None explicitly disables reconnection. A supplied policy manages each post-ready loss episode.
Trait Implementations§
Source§impl Clone for HttpNotificationOptions
impl Clone for HttpNotificationOptions
Auto Trait Implementations§
impl Freeze for HttpNotificationOptions
impl RefUnwindSafe for HttpNotificationOptions
impl Send for HttpNotificationOptions
impl Sync for HttpNotificationOptions
impl Unpin for HttpNotificationOptions
impl UnsafeUnpin for HttpNotificationOptions
impl UnwindSafe for HttpNotificationOptions
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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