pub enum RequestCancelWorkflowExecutionError {
OperationNotPermittedFault(String),
UnknownResourceFault(String),
}
Expand description
Errors returned by RequestCancelWorkflowExecution
Variants§
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§
Trait Implementations§
Source§impl Error for RequestCancelWorkflowExecutionError
impl Error for RequestCancelWorkflowExecutionError
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 RequestCancelWorkflowExecutionError
impl PartialEq for RequestCancelWorkflowExecutionError
Source§fn eq(&self, other: &RequestCancelWorkflowExecutionError) -> bool
fn eq(&self, other: &RequestCancelWorkflowExecutionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RequestCancelWorkflowExecutionError
Auto Trait Implementations§
impl Freeze for RequestCancelWorkflowExecutionError
impl RefUnwindSafe for RequestCancelWorkflowExecutionError
impl Send for RequestCancelWorkflowExecutionError
impl Sync for RequestCancelWorkflowExecutionError
impl Unpin for RequestCancelWorkflowExecutionError
impl UnwindSafe for RequestCancelWorkflowExecutionError
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