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
[src]
Trait Implementations
impl Debug for GetDistributionError
[src]
impl PartialEq for GetDistributionError
[src]
fn eq(&self, __arg_0: &GetDistributionError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetDistributionError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for GetDistributionError
[src]
fn from(err: XmlParseError) -> GetDistributionError
[src]
Performs the conversion.
impl From<CredentialsError> for GetDistributionError
[src]
fn from(err: CredentialsError) -> GetDistributionError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetDistributionError
[src]
fn from(err: HttpDispatchError) -> GetDistributionError
[src]
Performs the conversion.
impl From<Error> for GetDistributionError
[src]
fn from(err: Error) -> GetDistributionError
[src]
Performs the conversion.
impl Display for GetDistributionError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more