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