Enum rusoto_ecr::CompleteLayerUploadError
[−]
[src]
pub enum CompleteLayerUploadError { EmptyUpload(String), InvalidLayer(String), InvalidParameter(String), LayerAlreadyExists(String), LayerPartTooSmall(String), RepositoryNotFound(String), Server(String), UploadNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CompleteLayerUpload
Variants
EmptyUpload(String)
The specified layer upload does not contain any layer parts.
InvalidLayer(String)
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
LayerAlreadyExists(String)
The image layer already exists in the associated repository.
LayerPartTooSmall(String)
Layer parts must be at least 5 MiB in size.
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.
UploadNotFound(String)
The upload could not be found, or the specified upload id is not valid for this repository.
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 CompleteLayerUploadError
[src]
fn from_body(body: &str) -> CompleteLayerUploadError
Trait Implementations
impl Debug for CompleteLayerUploadError
[src]
impl PartialEq for CompleteLayerUploadError
[src]
fn eq(&self, __arg_0: &CompleteLayerUploadError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CompleteLayerUploadError) -> bool
This method tests for !=
.
impl From<Error> for CompleteLayerUploadError
[src]
fn from(err: Error) -> CompleteLayerUploadError
Performs the conversion.
impl From<CredentialsError> for CompleteLayerUploadError
[src]
fn from(err: CredentialsError) -> CompleteLayerUploadError
Performs the conversion.
impl From<HttpDispatchError> for CompleteLayerUploadError
[src]
fn from(err: HttpDispatchError) -> CompleteLayerUploadError
Performs the conversion.