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