Enum rusoto_ecr::CreateRepositoryError
[−]
[src]
pub enum CreateRepositoryError { InvalidParameter(String), LimitExceeded(String), RepositoryAlreadyExists(String), Server(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateRepository
Variants
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
LimitExceeded(String)
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Default Service Limits in the Amazon EC2 Container Registry User Guide.
RepositoryAlreadyExists(String)
The specified repository already exists in the specified 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 CreateRepositoryError
[src]
pub fn from_body(body: &str) -> CreateRepositoryError
[src]
Trait Implementations
impl Debug for CreateRepositoryError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CreateRepositoryError
[src]
fn eq(&self, __arg_0: &CreateRepositoryError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateRepositoryError) -> bool
[src]
This method tests for !=
.
impl From<Error> for CreateRepositoryError
[src]
fn from(err: Error) -> CreateRepositoryError
[src]
Performs the conversion.
impl From<CredentialsError> for CreateRepositoryError
[src]
fn from(err: CredentialsError) -> CreateRepositoryError
[src]
Performs the conversion.
impl From<HttpDispatchError> for CreateRepositoryError
[src]
fn from(err: HttpDispatchError) -> CreateRepositoryError
[src]
Performs the conversion.
impl From<Error> for CreateRepositoryError
[src]
fn from(err: Error) -> CreateRepositoryError
[src]
Performs the conversion.
impl Display for CreateRepositoryError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more