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