Struct aws_config::timeout::OperationTimeoutConfig
source · #[non_exhaustive]pub struct OperationTimeoutConfig { /* private fields */ }
Expand description
Configuration subset of TimeoutConfig
for operation timeouts
Implementations§
source§impl OperationTimeoutConfig
impl OperationTimeoutConfig
sourcepub fn operation_timeout(&self) -> Option<Duration>
pub fn operation_timeout(&self) -> Option<Duration>
Returns this config’s operation timeout.
An operation represents the full request/response lifecycle of a call to a service. The operation timeout is a limit on the total amount of time it takes for an operation to be fully serviced, including the time for all retries that may have been attempted for it.
sourcepub fn operation_attempt_timeout(&self) -> Option<Duration>
pub fn operation_attempt_timeout(&self) -> Option<Duration>
Returns this config’s operation attempt timeout.
An operation represents the full request/response lifecycle of a call to a service. When retries are enabled, then this setting makes it possible to set a timeout for individual retry attempts (including the initial attempt) for an operation.
sourcepub fn has_timeouts(&self) -> bool
pub fn has_timeouts(&self) -> bool
Returns true if any of the possible timeouts are set.
Trait Implementations§
source§impl Clone for OperationTimeoutConfig
impl Clone for OperationTimeoutConfig
source§fn clone(&self) -> OperationTimeoutConfig
fn clone(&self) -> OperationTimeoutConfig
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 OperationTimeoutConfig
impl Debug for OperationTimeoutConfig
source§impl From<&TimeoutConfig> for OperationTimeoutConfig
impl From<&TimeoutConfig> for OperationTimeoutConfig
source§fn from(cfg: &TimeoutConfig) -> OperationTimeoutConfig
fn from(cfg: &TimeoutConfig) -> OperationTimeoutConfig
Converts to this type from the input type.
source§impl From<TimeoutConfig> for OperationTimeoutConfig
impl From<TimeoutConfig> for OperationTimeoutConfig
source§fn from(cfg: TimeoutConfig) -> OperationTimeoutConfig
fn from(cfg: TimeoutConfig) -> OperationTimeoutConfig
Converts to this type from the input type.
source§impl PartialEq for OperationTimeoutConfig
impl PartialEq for OperationTimeoutConfig
impl StructuralPartialEq for OperationTimeoutConfig
Auto Trait Implementations§
impl Freeze for OperationTimeoutConfig
impl RefUnwindSafe for OperationTimeoutConfig
impl Send for OperationTimeoutConfig
impl Sync for OperationTimeoutConfig
impl Unpin for OperationTimeoutConfig
impl UnwindSafe for OperationTimeoutConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.