Enum rusoto_sqs::AddPermissionError
[−]
[src]
pub enum AddPermissionError { OverLimit(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by AddPermission
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 AddPermissionError
[src]
fn from_body(body: &str) -> AddPermissionError
Trait Implementations
impl Debug for AddPermissionError
[src]
impl PartialEq for AddPermissionError
[src]
fn eq(&self, __arg_0: &AddPermissionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AddPermissionError) -> bool
This method tests for !=
.
impl From<XmlParseError> for AddPermissionError
[src]
fn from(err: XmlParseError) -> AddPermissionError
Performs the conversion.
impl From<CredentialsError> for AddPermissionError
[src]
fn from(err: CredentialsError) -> AddPermissionError
Performs the conversion.
impl From<HttpDispatchError> for AddPermissionError
[src]
fn from(err: HttpDispatchError) -> AddPermissionError
Performs the conversion.