Enum rusoto_cloudfront::GetDistributionError
[−]
[src]
pub enum GetDistributionError { AccessDenied(String), NoSuchDistribution(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetDistribution
Variants
AccessDenied(String)
Access denied.
NoSuchDistribution(String)
The specified distribution does not exist.
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 GetDistributionError
[src]
fn from_body(body: &str) -> GetDistributionError
Trait Implementations
impl Debug for GetDistributionError
[src]
impl PartialEq for GetDistributionError
[src]
fn eq(&self, __arg_0: &GetDistributionError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetDistributionError) -> bool
This method tests for !=
.
impl From<XmlParseError> for GetDistributionError
[src]
fn from(err: XmlParseError) -> GetDistributionError
Performs the conversion.
impl From<CredentialsError> for GetDistributionError
[src]
fn from(err: CredentialsError) -> GetDistributionError
Performs the conversion.
impl From<HttpDispatchError> for GetDistributionError
[src]
fn from(err: HttpDispatchError) -> GetDistributionError
Performs the conversion.