Enum rusoto_iam::GetRoleError [−][src]
pub enum GetRoleError { NoSuchEntity(String), ServiceFailure(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetRole
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 GetRoleError
[src]
impl GetRoleError
pub fn from_body(body: &str) -> GetRoleError
[src]
pub fn from_body(body: &str) -> GetRoleError
Trait Implementations
impl Debug for GetRoleError
[src]
impl Debug for GetRoleError
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 GetRoleError
[src]
impl PartialEq for GetRoleError
fn eq(&self, other: &GetRoleError) -> bool
[src]
fn eq(&self, other: &GetRoleError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetRoleError) -> bool
[src]
fn ne(&self, other: &GetRoleError) -> bool
This method tests for !=
.
impl From<XmlParseError> for GetRoleError
[src]
impl From<XmlParseError> for GetRoleError
fn from(err: XmlParseError) -> GetRoleError
[src]
fn from(err: XmlParseError) -> GetRoleError
Performs the conversion.
impl From<CredentialsError> for GetRoleError
[src]
impl From<CredentialsError> for GetRoleError
fn from(err: CredentialsError) -> GetRoleError
[src]
fn from(err: CredentialsError) -> GetRoleError
Performs the conversion.
impl From<HttpDispatchError> for GetRoleError
[src]
impl From<HttpDispatchError> for GetRoleError
fn from(err: HttpDispatchError) -> GetRoleError
[src]
fn from(err: HttpDispatchError) -> GetRoleError
Performs the conversion.
impl From<Error> for GetRoleError
[src]
impl From<Error> for GetRoleError
fn from(err: Error) -> GetRoleError
[src]
fn from(err: Error) -> GetRoleError
Performs the conversion.
impl Display for GetRoleError
[src]
impl Display for GetRoleError
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 GetRoleError
[src]
impl Error for GetRoleError
Auto Trait Implementations
impl Send for GetRoleError
impl Send for GetRoleError
impl Sync for GetRoleError
impl Sync for GetRoleError