pub enum DeleteRouteError {
BadRequest(String),
Forbidden(String),
InternalServerError(String),
NotFound(String),
ResourceInUse(String),
ServiceUnavailable(String),
TooManyRequests(String),
}
Expand description
Errors returned by DeleteRoute
Variants§
BadRequest(String)
The request syntax was malformed. Check your request syntax and try again.
Forbidden(String)
You don't have permissions to perform this action.
InternalServerError(String)
The request processing has failed because of an unknown error, exception, or failure.
NotFound(String)
The specified resource doesn't exist. Check your request syntax and try again.
ResourceInUse(String)
You can't delete the specified resource because it's in use or required by another resource.
The request has failed due to a temporary failure of the service.
TooManyRequests(String)
The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.
Implementations§
Source§impl DeleteRouteError
impl DeleteRouteError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<DeleteRouteError>
Trait Implementations§
Source§impl Debug for DeleteRouteError
impl Debug for DeleteRouteError
Source§impl Display for DeleteRouteError
impl Display for DeleteRouteError
Source§impl Error for DeleteRouteError
impl Error for DeleteRouteError
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 DeleteRouteError
impl PartialEq for DeleteRouteError
impl StructuralPartialEq for DeleteRouteError
Auto Trait Implementations§
impl Freeze for DeleteRouteError
impl RefUnwindSafe for DeleteRouteError
impl Send for DeleteRouteError
impl Sync for DeleteRouteError
impl Unpin for DeleteRouteError
impl UnwindSafe for DeleteRouteError
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