#[non_exhaustive]pub struct VirtualGatewayHttpConnectionPoolBuilder { /* private fields */ }
Expand description
A builder for VirtualGatewayHttpConnectionPool
.
Implementations§
source§impl VirtualGatewayHttpConnectionPoolBuilder
impl VirtualGatewayHttpConnectionPoolBuilder
sourcepub fn max_connections(self, input: i32) -> Self
pub fn max_connections(self, input: i32) -> Self
Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster.
This field is required.sourcepub fn set_max_connections(self, input: Option<i32>) -> Self
pub fn set_max_connections(self, input: Option<i32>) -> Self
Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster.
sourcepub fn get_max_connections(&self) -> &Option<i32>
pub fn get_max_connections(&self) -> &Option<i32>
Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster.
sourcepub fn max_pending_requests(self, input: i32) -> Self
pub fn max_pending_requests(self, input: i32) -> Self
Number of overflowing requests after max_connections
Envoy will queue to upstream cluster.
sourcepub fn set_max_pending_requests(self, input: Option<i32>) -> Self
pub fn set_max_pending_requests(self, input: Option<i32>) -> Self
Number of overflowing requests after max_connections
Envoy will queue to upstream cluster.
sourcepub fn get_max_pending_requests(&self) -> &Option<i32>
pub fn get_max_pending_requests(&self) -> &Option<i32>
Number of overflowing requests after max_connections
Envoy will queue to upstream cluster.
sourcepub fn build(self) -> VirtualGatewayHttpConnectionPool
pub fn build(self) -> VirtualGatewayHttpConnectionPool
Consumes the builder and constructs a VirtualGatewayHttpConnectionPool
.
Trait Implementations§
source§impl Clone for VirtualGatewayHttpConnectionPoolBuilder
impl Clone for VirtualGatewayHttpConnectionPoolBuilder
source§fn clone(&self) -> VirtualGatewayHttpConnectionPoolBuilder
fn clone(&self) -> VirtualGatewayHttpConnectionPoolBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for VirtualGatewayHttpConnectionPoolBuilder
impl Default for VirtualGatewayHttpConnectionPoolBuilder
source§fn default() -> VirtualGatewayHttpConnectionPoolBuilder
fn default() -> VirtualGatewayHttpConnectionPoolBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VirtualGatewayHttpConnectionPoolBuilder
impl PartialEq for VirtualGatewayHttpConnectionPoolBuilder
source§fn eq(&self, other: &VirtualGatewayHttpConnectionPoolBuilder) -> bool
fn eq(&self, other: &VirtualGatewayHttpConnectionPoolBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VirtualGatewayHttpConnectionPoolBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VirtualGatewayHttpConnectionPoolBuilder
impl Send for VirtualGatewayHttpConnectionPoolBuilder
impl Sync for VirtualGatewayHttpConnectionPoolBuilder
impl Unpin for VirtualGatewayHttpConnectionPoolBuilder
impl UnwindSafe for VirtualGatewayHttpConnectionPoolBuilder
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> 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>
Creates a shared type from an unshared type.