pub enum GetRoleCredentialsError {
InvalidRequest(String),
ResourceNotFound(String),
TooManyRequests(String),
Unauthorized(String),
}
Expand description
Errors returned by GetRoleCredentials
Variants§
InvalidRequest(String)
Indicates that a problem occurred with the input to the request. For example, a required parameter might be missing or out of range.
ResourceNotFound(String)
The specified resource doesn't exist.
TooManyRequests(String)
Indicates that the request is being made too frequently and is more than what the server can handle.
Indicates that the request is not authorized. This can happen due to an invalid access token in the request.
Implementations§
Source§impl GetRoleCredentialsError
impl GetRoleCredentialsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetRoleCredentialsError>
Trait Implementations§
Source§impl Debug for GetRoleCredentialsError
impl Debug for GetRoleCredentialsError
Source§impl Display for GetRoleCredentialsError
impl Display for GetRoleCredentialsError
Source§impl Error for GetRoleCredentialsError
impl Error for GetRoleCredentialsError
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 GetRoleCredentialsError
impl PartialEq for GetRoleCredentialsError
impl StructuralPartialEq for GetRoleCredentialsError
Auto Trait Implementations§
impl Freeze for GetRoleCredentialsError
impl RefUnwindSafe for GetRoleCredentialsError
impl Send for GetRoleCredentialsError
impl Sync for GetRoleCredentialsError
impl Unpin for GetRoleCredentialsError
impl UnwindSafe for GetRoleCredentialsError
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