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