pub enum GetRecommendationsError {
InternalServer(String),
ResourceNotFound(String),
Throttling(String),
}Expand description
Errors returned by GetRecommendations
Variants§
InternalServer(String)
The server encountered an internal error and is unable to complete the request.
ResourceNotFound(String)
The resource specified in the request does not exist.
Throttling(String)
The request was denied due to request throttling.
Implementations§
Source§impl GetRecommendationsError
impl GetRecommendationsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetRecommendationsError>
Trait Implementations§
Source§impl Debug for GetRecommendationsError
impl Debug for GetRecommendationsError
Source§impl Display for GetRecommendationsError
impl Display for GetRecommendationsError
Source§impl Error for GetRecommendationsError
impl Error for GetRecommendationsError
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 GetRecommendationsError
impl PartialEq for GetRecommendationsError
impl StructuralPartialEq for GetRecommendationsError
Auto Trait Implementations§
impl Freeze for GetRecommendationsError
impl RefUnwindSafe for GetRecommendationsError
impl Send for GetRecommendationsError
impl Sync for GetRecommendationsError
impl Unpin for GetRecommendationsError
impl UnwindSafe for GetRecommendationsError
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