Enum rusoto_ecr::SetRepositoryPolicyError
[−]
[src]
pub enum SetRepositoryPolicyError { InvalidParameter(String), RepositoryNotFound(String), Server(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SetRepositoryPolicy
Variants
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
RepositoryNotFound(String)
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
Server(String)
These errors are usually caused by a server-side issue.
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 SetRepositoryPolicyError
[src]
pub fn from_body(body: &str) -> SetRepositoryPolicyError
[src]
Trait Implementations
impl Debug for SetRepositoryPolicyError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for SetRepositoryPolicyError
[src]
fn eq(&self, __arg_0: &SetRepositoryPolicyError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SetRepositoryPolicyError) -> bool
[src]
This method tests for !=
.
impl From<Error> for SetRepositoryPolicyError
[src]
fn from(err: Error) -> SetRepositoryPolicyError
[src]
Performs the conversion.
impl From<CredentialsError> for SetRepositoryPolicyError
[src]
fn from(err: CredentialsError) -> SetRepositoryPolicyError
[src]
Performs the conversion.
impl From<HttpDispatchError> for SetRepositoryPolicyError
[src]
fn from(err: HttpDispatchError) -> SetRepositoryPolicyError
[src]
Performs the conversion.
impl From<Error> for SetRepositoryPolicyError
[src]
fn from(err: Error) -> SetRepositoryPolicyError
[src]
Performs the conversion.
impl Display for SetRepositoryPolicyError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more