Enum rusoto_sqs::PurgeQueueError
[−]
[src]
pub enum PurgeQueueError { PurgeQueueInProgress(String), QueueDoesNotExist(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PurgeQueue
Variants
PurgeQueueInProgress(String)
Indicates that the specified queue previously received a PurgeQueue
request within the last 60 seconds (the time it can take to delete the messages in the queue).
QueueDoesNotExist(String)
The queue referred to doesn't exist.
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 PurgeQueueError
[src]
fn from_body(body: &str) -> PurgeQueueError
Trait Implementations
impl Debug for PurgeQueueError
[src]
impl PartialEq for PurgeQueueError
[src]
fn eq(&self, __arg_0: &PurgeQueueError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PurgeQueueError) -> bool
This method tests for !=
.
impl From<XmlParseError> for PurgeQueueError
[src]
fn from(err: XmlParseError) -> PurgeQueueError
Performs the conversion.
impl From<CredentialsError> for PurgeQueueError
[src]
fn from(err: CredentialsError) -> PurgeQueueError
Performs the conversion.
impl From<HttpDispatchError> for PurgeQueueError
[src]
fn from(err: HttpDispatchError) -> PurgeQueueError
Performs the conversion.