pub struct NotificationSubscriptionOptions {
pub max_active_subscriptions: usize,
pub max_channels: usize,
pub max_queued_notifications: usize,
pub max_queued_bytes: usize,
pub max_registry_entries_per_poll: usize,
}Expand description
Explicit limits for an owned listener. No deployment capacity is inferred from SQL work_mem.
Registrations and retained listeners share every admitted handle’s active-subscription ceiling. Admission cannot weaken a stricter ceiling retained by another pending registration or live handle. Queue bytes include string capacities, queue slots and transient prepared-delivery buffers; provider caches and the returned application’s owned events are separate resources.
Fields§
§max_active_subscriptions: usize§max_channels: usize§max_queued_notifications: usize§max_queued_bytes: usize§max_registry_entries_per_poll: usizeTrait Implementations§
Source§impl Clone for NotificationSubscriptionOptions
impl Clone for NotificationSubscriptionOptions
Source§fn clone(&self) -> NotificationSubscriptionOptions
fn clone(&self) -> NotificationSubscriptionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotificationSubscriptionOptions
impl Eq for NotificationSubscriptionOptions
impl StructuralPartialEq for NotificationSubscriptionOptions
Auto Trait Implementations§
impl Freeze for NotificationSubscriptionOptions
impl RefUnwindSafe for NotificationSubscriptionOptions
impl Send for NotificationSubscriptionOptions
impl Sync for NotificationSubscriptionOptions
impl Unpin for NotificationSubscriptionOptions
impl UnsafeUnpin for NotificationSubscriptionOptions
impl UnwindSafe for NotificationSubscriptionOptions
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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