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