#[non_exhaustive]pub struct VirtualGatewayHttp2ConnectionPoolBuilder { /* private fields */ }
Expand description
A builder for VirtualGatewayHttp2ConnectionPool
.
Implementations§
source§impl VirtualGatewayHttp2ConnectionPoolBuilder
impl VirtualGatewayHttp2ConnectionPoolBuilder
sourcepub fn max_requests(self, input: i32) -> Self
pub fn max_requests(self, input: i32) -> Self
Maximum number of inflight requests Envoy can concurrently support across hosts in upstream cluster.
This field is required.sourcepub fn set_max_requests(self, input: Option<i32>) -> Self
pub fn set_max_requests(self, input: Option<i32>) -> Self
Maximum number of inflight requests Envoy can concurrently support across hosts in upstream cluster.
sourcepub fn get_max_requests(&self) -> &Option<i32>
pub fn get_max_requests(&self) -> &Option<i32>
Maximum number of inflight requests Envoy can concurrently support across hosts in upstream cluster.
sourcepub fn build(self) -> Result<VirtualGatewayHttp2ConnectionPool, BuildError>
pub fn build(self) -> Result<VirtualGatewayHttp2ConnectionPool, BuildError>
Consumes the builder and constructs a VirtualGatewayHttp2ConnectionPool
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VirtualGatewayHttp2ConnectionPoolBuilder
impl Clone for VirtualGatewayHttp2ConnectionPoolBuilder
source§fn clone(&self) -> VirtualGatewayHttp2ConnectionPoolBuilder
fn clone(&self) -> VirtualGatewayHttp2ConnectionPoolBuilder
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 VirtualGatewayHttp2ConnectionPoolBuilder
impl Default for VirtualGatewayHttp2ConnectionPoolBuilder
source§fn default() -> VirtualGatewayHttp2ConnectionPoolBuilder
fn default() -> VirtualGatewayHttp2ConnectionPoolBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VirtualGatewayHttp2ConnectionPoolBuilder
impl PartialEq for VirtualGatewayHttp2ConnectionPoolBuilder
source§fn eq(&self, other: &VirtualGatewayHttp2ConnectionPoolBuilder) -> bool
fn eq(&self, other: &VirtualGatewayHttp2ConnectionPoolBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VirtualGatewayHttp2ConnectionPoolBuilder
Auto Trait Implementations§
impl Freeze for VirtualGatewayHttp2ConnectionPoolBuilder
impl RefUnwindSafe for VirtualGatewayHttp2ConnectionPoolBuilder
impl Send for VirtualGatewayHttp2ConnectionPoolBuilder
impl Sync for VirtualGatewayHttp2ConnectionPoolBuilder
impl Unpin for VirtualGatewayHttp2ConnectionPoolBuilder
impl UnwindSafe for VirtualGatewayHttp2ConnectionPoolBuilder
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>
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 moreCreates a shared type from an unshared type.