pub enum PollForActivityTaskError {
LimitExceededFault(String),
OperationNotPermittedFault(String),
UnknownResourceFault(String),
}
Expand description
Errors returned by PollForActivityTask
Variants§
LimitExceededFault(String)
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(String)
Returned when the caller doesn't have sufficient permissions to invoke the action.
UnknownResourceFault(String)
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.
Implementations§
Source§impl PollForActivityTaskError
impl PollForActivityTaskError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<PollForActivityTaskError>
Trait Implementations§
Source§impl Debug for PollForActivityTaskError
impl Debug for PollForActivityTaskError
Source§impl Display for PollForActivityTaskError
impl Display for PollForActivityTaskError
Source§impl Error for PollForActivityTaskError
impl Error for PollForActivityTaskError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for PollForActivityTaskError
impl PartialEq for PollForActivityTaskError
impl StructuralPartialEq for PollForActivityTaskError
Auto Trait Implementations§
impl Freeze for PollForActivityTaskError
impl RefUnwindSafe for PollForActivityTaskError
impl Send for PollForActivityTaskError
impl Sync for PollForActivityTaskError
impl Unpin for PollForActivityTaskError
impl UnwindSafe for PollForActivityTaskError
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