pub enum CreateMitigationActionError {
InternalFailure(String),
InvalidRequest(String),
LimitExceeded(String),
ResourceAlreadyExists(String),
Throttling(String),
}
Expand description
Errors returned by CreateMitigationAction
Variants§
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
LimitExceeded(String)
A limit has been exceeded.
ResourceAlreadyExists(String)
The resource already exists.
Throttling(String)
The rate exceeds the limit.
Implementations§
Source§impl CreateMitigationActionError
impl CreateMitigationActionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateMitigationActionError>
Trait Implementations§
Source§impl Debug for CreateMitigationActionError
impl Debug for CreateMitigationActionError
Source§impl Error for CreateMitigationActionError
impl Error for CreateMitigationActionError
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()
impl StructuralPartialEq for CreateMitigationActionError
Auto Trait Implementations§
impl Freeze for CreateMitigationActionError
impl RefUnwindSafe for CreateMitigationActionError
impl Send for CreateMitigationActionError
impl Sync for CreateMitigationActionError
impl Unpin for CreateMitigationActionError
impl UnwindSafe for CreateMitigationActionError
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