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]
impl GetRolePolicyError
pub fn from_body(body: &str) -> GetRolePolicyError
[src]
pub fn from_body(body: &str) -> GetRolePolicyError
Trait Implementations
impl Debug for GetRolePolicyError
[src]
impl Debug for GetRolePolicyError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GetRolePolicyError
[src]
impl PartialEq for GetRolePolicyError
fn eq(&self, other: &GetRolePolicyError) -> bool
[src]
fn eq(&self, other: &GetRolePolicyError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetRolePolicyError) -> bool
[src]
fn ne(&self, other: &GetRolePolicyError) -> bool
This method tests for !=
.
impl From<XmlParseError> for GetRolePolicyError
[src]
impl From<XmlParseError> for GetRolePolicyError
fn from(err: XmlParseError) -> GetRolePolicyError
[src]
fn from(err: XmlParseError) -> GetRolePolicyError
Performs the conversion.
impl From<CredentialsError> for GetRolePolicyError
[src]
impl From<CredentialsError> for GetRolePolicyError
fn from(err: CredentialsError) -> GetRolePolicyError
[src]
fn from(err: CredentialsError) -> GetRolePolicyError
Performs the conversion.
impl From<HttpDispatchError> for GetRolePolicyError
[src]
impl From<HttpDispatchError> for GetRolePolicyError
fn from(err: HttpDispatchError) -> GetRolePolicyError
[src]
fn from(err: HttpDispatchError) -> GetRolePolicyError
Performs the conversion.
impl From<Error> for GetRolePolicyError
[src]
impl From<Error> for GetRolePolicyError
fn from(err: Error) -> GetRolePolicyError
[src]
fn from(err: Error) -> GetRolePolicyError
Performs the conversion.
impl Display for GetRolePolicyError
[src]
impl Display for GetRolePolicyError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for GetRolePolicyError
[src]
impl Error for GetRolePolicyError
Auto Trait Implementations
impl Send for GetRolePolicyError
impl Send for GetRolePolicyError
impl Sync for GetRolePolicyError
impl Sync for GetRolePolicyError