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