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