Enum rusoto_mturk::DeleteHITError
[−]
[src]
pub enum DeleteHITError { RequestError(String), ServiceFault(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteHIT
Variants
RequestError(String)
Your request is invalid.
ServiceFault(String)
Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.
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 DeleteHITError
[src]
fn from_body(body: &str) -> DeleteHITError
[src]
Trait Implementations
impl Debug for DeleteHITError
[src]
impl PartialEq for DeleteHITError
[src]
fn eq(&self, __arg_0: &DeleteHITError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeleteHITError) -> bool
[src]
This method tests for !=
.
impl From<Error> for DeleteHITError
[src]
fn from(err: Error) -> DeleteHITError
[src]
Performs the conversion.
impl From<CredentialsError> for DeleteHITError
[src]
fn from(err: CredentialsError) -> DeleteHITError
[src]
Performs the conversion.
impl From<HttpDispatchError> for DeleteHITError
[src]
fn from(err: HttpDispatchError) -> DeleteHITError
[src]
Performs the conversion.
impl From<Error> for DeleteHITError
[src]
fn from(err: Error) -> DeleteHITError
[src]
Performs the conversion.
impl Display for DeleteHITError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more