pub struct SQLNotificationOptions {
pub max_channels: usize,
pub max_queued_notifications: usize,
pub max_queued_bytes: usize,
pub max_registry_entries_per_poll: usize,
}Expand description
Opt-in bounds for the SQL session’s own LISTEN queue. Overflow is terminal and explicit. Queue bytes include string capacities, queue slots and transient prepared batches.
Fields§
§max_channels: usize§max_queued_notifications: usize§max_queued_bytes: usize§max_registry_entries_per_poll: usizeTrait Implementations§
Source§impl Clone for SQLNotificationOptions
impl Clone for SQLNotificationOptions
impl Copy for SQLNotificationOptions
Source§impl Debug for SQLNotificationOptions
impl Debug for SQLNotificationOptions
impl Eq for SQLNotificationOptions
Source§impl PartialEq for SQLNotificationOptions
impl PartialEq for SQLNotificationOptions
impl StructuralPartialEq for SQLNotificationOptions
Auto Trait Implementations§
impl Freeze for SQLNotificationOptions
impl RefUnwindSafe for SQLNotificationOptions
impl Send for SQLNotificationOptions
impl Sync for SQLNotificationOptions
impl Unpin for SQLNotificationOptions
impl UnsafeUnpin for SQLNotificationOptions
impl UnwindSafe for SQLNotificationOptions
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