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