Enum rusoto_iam::GetRolePolicyError
[−]
[src]
pub enum GetRolePolicyError { NoSuchEntity(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetRolePolicy
Variants
NoSuchEntity(String)
The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
ServiceFailure(String)
The request processing has failed because of an unknown error, exception or failure.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl GetRolePolicyError
[src]
fn from_body(body: &str) -> GetRolePolicyError
[src]
Trait Implementations
impl Debug for GetRolePolicyError
[src]
impl PartialEq for GetRolePolicyError
[src]
fn eq(&self, __arg_0: &GetRolePolicyError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetRolePolicyError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for GetRolePolicyError
[src]
fn from(err: XmlParseError) -> GetRolePolicyError
[src]
Performs the conversion.
impl From<CredentialsError> for GetRolePolicyError
[src]
fn from(err: CredentialsError) -> GetRolePolicyError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetRolePolicyError
[src]
fn from(err: HttpDispatchError) -> GetRolePolicyError
[src]
Performs the conversion.
impl From<Error> for GetRolePolicyError
[src]
fn from(err: Error) -> GetRolePolicyError
[src]
Performs the conversion.
impl Display for GetRolePolicyError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more