#[non_exhaustive]
pub enum PollForActivityTaskErrorKind {
LimitExceededFault(LimitExceededFault),
OperationNotPermittedFault(OperationNotPermittedFault),
UnknownResourceFault(UnknownResourceFault),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the PollForActivityTask
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LimitExceededFault(LimitExceededFault)
Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.
OperationNotPermittedFault(OperationNotPermittedFault)
Returned when the caller doesn't have sufficient permissions to invoke the action.
UnknownResourceFault(UnknownResourceFault)
Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PollForActivityTaskErrorKind
impl Send for PollForActivityTaskErrorKind
impl Sync for PollForActivityTaskErrorKind
impl Unpin for PollForActivityTaskErrorKind
impl !UnwindSafe for PollForActivityTaskErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more