Enum rusoto_sqs::ReceiveMessageError
[−]
[src]
pub enum ReceiveMessageError { OverLimit(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ReceiveMessage
Variants
OverLimit(String)
The action that you requested would violate a limit. For example, ReceiveMessage
returns this error if the maximum number of inflight messages is reached. AddPermission
returns this error if the maximum number of permissions for the queue is reached.
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 ReceiveMessageError
[src]
fn from_body(body: &str) -> ReceiveMessageError
[src]
Trait Implementations
impl Debug for ReceiveMessageError
[src]
impl PartialEq for ReceiveMessageError
[src]
fn eq(&self, __arg_0: &ReceiveMessageError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReceiveMessageError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for ReceiveMessageError
[src]
fn from(err: XmlParseError) -> ReceiveMessageError
[src]
Performs the conversion.
impl From<CredentialsError> for ReceiveMessageError
[src]
fn from(err: CredentialsError) -> ReceiveMessageError
[src]
Performs the conversion.
impl From<HttpDispatchError> for ReceiveMessageError
[src]
fn from(err: HttpDispatchError) -> ReceiveMessageError
[src]
Performs the conversion.
impl From<Error> for ReceiveMessageError
[src]
fn from(err: Error) -> ReceiveMessageError
[src]
Performs the conversion.
impl Display for ReceiveMessageError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more