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