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