Struct aws_sdk_appmesh::types::GrpcTimeout
source · #[non_exhaustive]pub struct GrpcTimeout { /* private fields */ }
Expand description
An object that represents types of timeouts.
Implementations§
source§impl GrpcTimeout
impl GrpcTimeout
sourcepub fn per_request(&self) -> Option<&Duration>
pub fn per_request(&self) -> Option<&Duration>
An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.
source§impl GrpcTimeout
impl GrpcTimeout
sourcepub fn builder() -> GrpcTimeoutBuilder
pub fn builder() -> GrpcTimeoutBuilder
Creates a new builder-style object to manufacture GrpcTimeout
.
Trait Implementations§
source§impl Clone for GrpcTimeout
impl Clone for GrpcTimeout
source§fn clone(&self) -> GrpcTimeout
fn clone(&self) -> GrpcTimeout
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 GrpcTimeout
impl Debug for GrpcTimeout
source§impl PartialEq<GrpcTimeout> for GrpcTimeout
impl PartialEq<GrpcTimeout> for GrpcTimeout
source§fn eq(&self, other: &GrpcTimeout) -> bool
fn eq(&self, other: &GrpcTimeout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GrpcTimeout
Auto Trait Implementations§
impl RefUnwindSafe for GrpcTimeout
impl Send for GrpcTimeout
impl Sync for GrpcTimeout
impl Unpin for GrpcTimeout
impl UnwindSafe for GrpcTimeout
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