Enum rusoto_batch::TerminateJobError
[−]
[src]
pub enum TerminateJobError { Client(String), Server(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by TerminateJob
Variants
Client(String)
These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.
Server(String)
These errors are usually caused by a server issue.
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 TerminateJobError
[src]
pub fn from_body(body: &str) -> TerminateJobError
[src]
Trait Implementations
impl Debug for TerminateJobError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for TerminateJobError
[src]
fn eq(&self, __arg_0: &TerminateJobError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TerminateJobError) -> bool
[src]
This method tests for !=
.
impl From<Error> for TerminateJobError
[src]
fn from(err: Error) -> TerminateJobError
[src]
Performs the conversion.
impl From<CredentialsError> for TerminateJobError
[src]
fn from(err: CredentialsError) -> TerminateJobError
[src]
Performs the conversion.
impl From<HttpDispatchError> for TerminateJobError
[src]
fn from(err: HttpDispatchError) -> TerminateJobError
[src]
Performs the conversion.
impl From<Error> for TerminateJobError
[src]
fn from(err: Error) -> TerminateJobError
[src]
Performs the conversion.
impl Display for TerminateJobError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more