Struct aws_sdk_xray::types::BackendConnectionErrors
source · #[non_exhaustive]pub struct BackendConnectionErrors {
pub timeout_count: Option<i32>,
pub connection_refused_count: Option<i32>,
pub http_code4_xx_count: Option<i32>,
pub http_code5_xx_count: Option<i32>,
pub unknown_host_count: Option<i32>,
pub other_count: Option<i32>,
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.timeout_count: Option<i32>
§
connection_refused_count: Option<i32>
§
http_code4_xx_count: Option<i32>
§
http_code5_xx_count: Option<i32>
§
unknown_host_count: Option<i32>
§
other_count: Option<i32>
Implementations§
source§impl BackendConnectionErrors
impl BackendConnectionErrors
sourcepub fn timeout_count(&self) -> Option<i32>
pub fn timeout_count(&self) -> Option<i32>
sourcepub fn connection_refused_count(&self) -> Option<i32>
pub fn connection_refused_count(&self) -> Option<i32>
sourcepub fn http_code4_xx_count(&self) -> Option<i32>
pub fn http_code4_xx_count(&self) -> Option<i32>
sourcepub fn http_code5_xx_count(&self) -> Option<i32>
pub fn http_code5_xx_count(&self) -> Option<i32>
sourcepub fn unknown_host_count(&self) -> Option<i32>
pub fn unknown_host_count(&self) -> Option<i32>
sourcepub fn other_count(&self) -> Option<i32>
pub fn other_count(&self) -> Option<i32>
source§impl BackendConnectionErrors
impl BackendConnectionErrors
sourcepub fn builder() -> BackendConnectionErrorsBuilder
pub fn builder() -> BackendConnectionErrorsBuilder
Creates a new builder-style object to manufacture BackendConnectionErrors
.
Trait Implementations§
source§impl Clone for BackendConnectionErrors
impl Clone for BackendConnectionErrors
source§fn clone(&self) -> BackendConnectionErrors
fn clone(&self) -> BackendConnectionErrors
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 BackendConnectionErrors
impl Debug for BackendConnectionErrors
source§impl PartialEq for BackendConnectionErrors
impl PartialEq for BackendConnectionErrors
source§fn eq(&self, other: &BackendConnectionErrors) -> bool
fn eq(&self, other: &BackendConnectionErrors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BackendConnectionErrors
Auto Trait Implementations§
impl RefUnwindSafe for BackendConnectionErrors
impl Send for BackendConnectionErrors
impl Sync for BackendConnectionErrors
impl Unpin for BackendConnectionErrors
impl UnwindSafe for BackendConnectionErrors
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.