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]
impl GetHITError
pub fn from_body(body: &str) -> GetHITError
[src]
pub fn from_body(body: &str) -> GetHITError
Trait Implementations
impl Debug for GetHITError
[src]
impl Debug for GetHITError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GetHITError
[src]
impl PartialEq for GetHITError
fn eq(&self, other: &GetHITError) -> bool
[src]
fn eq(&self, other: &GetHITError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetHITError) -> bool
[src]
fn ne(&self, other: &GetHITError) -> bool
This method tests for !=
.
impl From<Error> for GetHITError
[src]
impl From<Error> for GetHITError
fn from(err: Error) -> GetHITError
[src]
fn from(err: Error) -> GetHITError
Performs the conversion.
impl From<CredentialsError> for GetHITError
[src]
impl From<CredentialsError> for GetHITError
fn from(err: CredentialsError) -> GetHITError
[src]
fn from(err: CredentialsError) -> GetHITError
Performs the conversion.
impl From<HttpDispatchError> for GetHITError
[src]
impl From<HttpDispatchError> for GetHITError
fn from(err: HttpDispatchError) -> GetHITError
[src]
fn from(err: HttpDispatchError) -> GetHITError
Performs the conversion.
impl From<Error> for GetHITError
[src]
impl From<Error> for GetHITError
fn from(err: Error) -> GetHITError
[src]
fn from(err: Error) -> GetHITError
Performs the conversion.
impl Display for GetHITError
[src]
impl Display for GetHITError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for GetHITError
[src]
impl Error for GetHITError
Auto Trait Implementations
impl Send for GetHITError
impl Send for GetHITError
impl Sync for GetHITError
impl Sync for GetHITError