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