pub enum CreateRouteResponseError {
BadRequest(String),
Conflict(String),
NotFound(String),
TooManyRequests(String),
}Expand description
Errors returned by CreateRouteResponse
Variants§
BadRequest(String)
The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
Conflict(String)
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
NotFound(String)
The resource specified in the request was not found. See the message field for more information.
TooManyRequests(String)
A limit has been exceeded. See the accompanying error message for details.
Implementations§
Source§impl CreateRouteResponseError
impl CreateRouteResponseError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateRouteResponseError>
Trait Implementations§
Source§impl Debug for CreateRouteResponseError
impl Debug for CreateRouteResponseError
Source§impl Display for CreateRouteResponseError
impl Display for CreateRouteResponseError
Source§impl Error for CreateRouteResponseError
impl Error for CreateRouteResponseError
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 CreateRouteResponseError
impl PartialEq for CreateRouteResponseError
impl StructuralPartialEq for CreateRouteResponseError
Auto Trait Implementations§
impl Freeze for CreateRouteResponseError
impl RefUnwindSafe for CreateRouteResponseError
impl Send for CreateRouteResponseError
impl Sync for CreateRouteResponseError
impl Unpin for CreateRouteResponseError
impl UnwindSafe for CreateRouteResponseError
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