Struct aws_sdk_iot::error::ListV2LoggingLevelsError [−][src]
#[non_exhaustive]pub struct ListV2LoggingLevelsError {
pub kind: ListV2LoggingLevelsErrorKind,
// some fields omitted
}
Expand description
Error type for the ListV2LoggingLevels
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: ListV2LoggingLevelsErrorKind
Kind of error that occurred.
Implementations
Creates a new ListV2LoggingLevelsError
.
Creates the ListV2LoggingLevelsError::Unhandled
variant from any error type.
Creates the ListV2LoggingLevelsError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is ListV2LoggingLevelsErrorKind::InternalException
.
Returns true
if the error kind is ListV2LoggingLevelsErrorKind::InvalidRequestException
.
Returns true
if the error kind is ListV2LoggingLevelsErrorKind::NotConfiguredException
.
Returns true
if the error kind is ListV2LoggingLevelsErrorKind::ServiceUnavailableException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListV2LoggingLevelsError
impl Send for ListV2LoggingLevelsError
impl Sync for ListV2LoggingLevelsError
impl Unpin for ListV2LoggingLevelsError
impl !UnwindSafe for ListV2LoggingLevelsError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more