pub struct ClusterConfiguration {
pub max_connections_per_ip: Option<u64>,
/* private fields */
}Fields§
§max_connections_per_ip: Option<u64>Per-cluster override of the global per-(cluster, source-IP)
connection limit. None inherits the global default,
Some(0) is explicit “unlimited”, Some(n > 0) overrides.
Resolved against SessionManager::effective_max_connections_per_ip
at admit time in connect_to_backend.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClusterConfiguration
impl RefUnwindSafe for ClusterConfiguration
impl Send for ClusterConfiguration
impl Sync for ClusterConfiguration
impl Unpin for ClusterConfiguration
impl UnsafeUnpin for ClusterConfiguration
impl UnwindSafe for ClusterConfiguration
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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