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