Struct aws_sdk_appmesh::types::builders::TcpTimeoutBuilder
source · #[non_exhaustive]pub struct TcpTimeoutBuilder { /* private fields */ }
Expand description
A builder for TcpTimeout
.
Implementations§
source§impl TcpTimeoutBuilder
impl TcpTimeoutBuilder
sourcepub fn idle(self, input: Duration) -> Self
pub fn idle(self, input: Duration) -> Self
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
sourcepub fn set_idle(self, input: Option<Duration>) -> Self
pub fn set_idle(self, input: Option<Duration>) -> Self
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
sourcepub fn get_idle(&self) -> &Option<Duration>
pub fn get_idle(&self) -> &Option<Duration>
An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
sourcepub fn build(self) -> TcpTimeout
pub fn build(self) -> TcpTimeout
Consumes the builder and constructs a TcpTimeout
.
Trait Implementations§
source§impl Clone for TcpTimeoutBuilder
impl Clone for TcpTimeoutBuilder
source§fn clone(&self) -> TcpTimeoutBuilder
fn clone(&self) -> TcpTimeoutBuilder
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 Debug for TcpTimeoutBuilder
impl Debug for TcpTimeoutBuilder
source§impl Default for TcpTimeoutBuilder
impl Default for TcpTimeoutBuilder
source§fn default() -> TcpTimeoutBuilder
fn default() -> TcpTimeoutBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TcpTimeoutBuilder
impl PartialEq for TcpTimeoutBuilder
source§fn eq(&self, other: &TcpTimeoutBuilder) -> bool
fn eq(&self, other: &TcpTimeoutBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TcpTimeoutBuilder
Auto Trait Implementations§
impl Freeze for TcpTimeoutBuilder
impl RefUnwindSafe for TcpTimeoutBuilder
impl Send for TcpTimeoutBuilder
impl Sync for TcpTimeoutBuilder
impl Unpin for TcpTimeoutBuilder
impl UnwindSafe for TcpTimeoutBuilder
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.