Struct aws_sdk_ivs::error::StopStreamError [−][src]
#[non_exhaustive]pub struct StopStreamError {
pub kind: StopStreamErrorKind,
// some fields omitted
}
Expand description
Error type for the StopStream
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: StopStreamErrorKind
Kind of error that occurred.
Implementations
Creates a new StopStreamError
.
Creates the StopStreamError::Unhandled
variant from any error type.
Creates the StopStreamError::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 StopStreamErrorKind::AccessDeniedException
.
Returns true
if the error kind is StopStreamErrorKind::ChannelNotBroadcasting
.
Returns true
if the error kind is StopStreamErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is StopStreamErrorKind::StreamUnavailable
.
Returns true
if the error kind is StopStreamErrorKind::ValidationException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StopStreamError
impl Send for StopStreamError
impl Sync for StopStreamError
impl Unpin for StopStreamError
impl !UnwindSafe for StopStreamError
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