Enum rusoto_sts::DecodeAuthorizationMessageError
[−]
[src]
pub enum DecodeAuthorizationMessageError { InvalidAuthorizationMessage(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DecodeAuthorizationMessage
Variants
InvalidAuthorizationMessage(String)
The error returned if the message passed to DecodeAuthorizationMessage
was invalid. This can happen if the token contains invalid characters, such as linebreaks.
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 DecodeAuthorizationMessageError
[src]
fn from_body(body: &str) -> DecodeAuthorizationMessageError
Trait Implementations
impl Debug for DecodeAuthorizationMessageError
[src]
impl PartialEq for DecodeAuthorizationMessageError
[src]
fn eq(&self, __arg_0: &DecodeAuthorizationMessageError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodeAuthorizationMessageError) -> bool
This method tests for !=
.
impl From<XmlParseError> for DecodeAuthorizationMessageError
[src]
fn from(err: XmlParseError) -> DecodeAuthorizationMessageError
Performs the conversion.
impl From<CredentialsError> for DecodeAuthorizationMessageError
[src]
fn from(err: CredentialsError) -> DecodeAuthorizationMessageError
Performs the conversion.
impl From<HttpDispatchError> for DecodeAuthorizationMessageError
[src]
fn from(err: HttpDispatchError) -> DecodeAuthorizationMessageError
Performs the conversion.
impl From<Error> for DecodeAuthorizationMessageError
[src]
fn from(err: Error) -> DecodeAuthorizationMessageError
Performs the conversion.