pub enum GetMethodResponseError {
NotFound(String),
TooManyRequests(String),
Unauthorized(String),
}Expand description
Errors returned by GetMethodResponse
Variants§
NotFound(String)
The requested resource is not found. Make sure that the request URI is correct.
TooManyRequests(String)
The request has reached its throttling limit. Retry after the specified time period.
The request is denied because the caller has insufficient permissions.
Implementations§
Source§impl GetMethodResponseError
impl GetMethodResponseError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetMethodResponseError>
Trait Implementations§
Source§impl Debug for GetMethodResponseError
impl Debug for GetMethodResponseError
Source§impl Display for GetMethodResponseError
impl Display for GetMethodResponseError
Source§impl Error for GetMethodResponseError
impl Error for GetMethodResponseError
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 GetMethodResponseError
impl PartialEq for GetMethodResponseError
impl StructuralPartialEq for GetMethodResponseError
Auto Trait Implementations§
impl Freeze for GetMethodResponseError
impl RefUnwindSafe for GetMethodResponseError
impl Send for GetMethodResponseError
impl Sync for GetMethodResponseError
impl Unpin for GetMethodResponseError
impl UnwindSafe for GetMethodResponseError
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