Enum aws_sdk_ecr::Error
source · #[non_exhaustive]pub enum Error {
Show 39 variants
EmptyUploadException(EmptyUploadException),
ImageAlreadyExistsException(ImageAlreadyExistsException),
ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException),
ImageNotFoundException(ImageNotFoundException),
ImageTagAlreadyExistsException(ImageTagAlreadyExistsException),
InvalidLayerException(InvalidLayerException),
InvalidLayerPartException(InvalidLayerPartException),
InvalidParameterException(InvalidParameterException),
InvalidTagParameterException(InvalidTagParameterException),
KmsException(KmsException),
LayerAlreadyExistsException(LayerAlreadyExistsException),
LayerInaccessibleException(LayerInaccessibleException),
LayerPartTooSmallException(LayerPartTooSmallException),
LayersNotFoundException(LayersNotFoundException),
LifecyclePolicyNotFoundException(LifecyclePolicyNotFoundException),
LifecyclePolicyPreviewInProgressException(LifecyclePolicyPreviewInProgressException),
LifecyclePolicyPreviewNotFoundException(LifecyclePolicyPreviewNotFoundException),
LimitExceededException(LimitExceededException),
PullThroughCacheRuleAlreadyExistsException(PullThroughCacheRuleAlreadyExistsException),
PullThroughCacheRuleNotFoundException(PullThroughCacheRuleNotFoundException),
ReferencedImagesNotFoundException(ReferencedImagesNotFoundException),
RegistryPolicyNotFoundException(RegistryPolicyNotFoundException),
RepositoryAlreadyExistsException(RepositoryAlreadyExistsException),
RepositoryNotEmptyException(RepositoryNotEmptyException),
RepositoryNotFoundException(RepositoryNotFoundException),
RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException),
ScanNotFoundException(ScanNotFoundException),
SecretNotFoundException(SecretNotFoundException),
ServerException(ServerException),
TooManyTagsException(TooManyTagsException),
UnableToAccessSecretException(UnableToAccessSecretException),
UnableToDecryptSecretValueException(UnableToDecryptSecretValueException),
UnableToGetUpstreamImageException(UnableToGetUpstreamImageException),
UnableToGetUpstreamLayerException(UnableToGetUpstreamLayerException),
UnsupportedImageTypeException(UnsupportedImageTypeException),
UnsupportedUpstreamRegistryException(UnsupportedUpstreamRegistryException),
UploadNotFoundException(UploadNotFoundException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyUploadException(EmptyUploadException)
The specified layer upload does not contain any layer parts.
ImageAlreadyExistsException(ImageAlreadyExistsException)
The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
ImageDigestDoesNotMatchException(ImageDigestDoesNotMatchException)
The specified image digest does not match the digest that Amazon ECR calculated for the image.
ImageNotFoundException(ImageNotFoundException)
The image requested does not exist in the specified repository.
ImageTagAlreadyExistsException(ImageTagAlreadyExistsException)
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
InvalidLayerException(InvalidLayerException)
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
InvalidLayerPartException(InvalidLayerPartException)
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
InvalidParameterException(InvalidParameterException)
The specified parameter is invalid. Review the available parameters for the API request.
InvalidTagParameterException(InvalidTagParameterException)
An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
KmsException(KmsException)
The operation failed due to a KMS exception.
LayerAlreadyExistsException(LayerAlreadyExistsException)
The image layer already exists in the associated repository.
LayerInaccessibleException(LayerInaccessibleException)
The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.
LayerPartTooSmallException(LayerPartTooSmallException)
Layer parts must be at least 5 MiB in size.
LayersNotFoundException(LayersNotFoundException)
The specified layers could not be found, or the specified layer is not valid for this repository.
LifecyclePolicyNotFoundException(LifecyclePolicyNotFoundException)
The lifecycle policy could not be found, and no policy is set to the repository.
LifecyclePolicyPreviewInProgressException(LifecyclePolicyPreviewInProgressException)
The previous lifecycle policy preview request has not completed. Wait and try again.
LifecyclePolicyPreviewNotFoundException(LifecyclePolicyPreviewNotFoundException)
There is no dry run for this repository.
LimitExceededException(LimitExceededException)
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR service quotas in the Amazon Elastic Container Registry User Guide.
PullThroughCacheRuleAlreadyExistsException(PullThroughCacheRuleAlreadyExistsException)
A pull through cache rule with these settings already exists for the private registry.
PullThroughCacheRuleNotFoundException(PullThroughCacheRuleNotFoundException)
The pull through cache rule was not found. Specify a valid pull through cache rule and try again.
ReferencedImagesNotFoundException(ReferencedImagesNotFoundException)
The manifest list is referencing an image that does not exist.
RegistryPolicyNotFoundException(RegistryPolicyNotFoundException)
The registry doesn't have an associated registry policy.
RepositoryAlreadyExistsException(RepositoryAlreadyExistsException)
The specified repository already exists in the specified registry.
RepositoryNotEmptyException(RepositoryNotEmptyException)
The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force
parameter.
RepositoryNotFoundException(RepositoryNotFoundException)
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.
RepositoryPolicyNotFoundException(RepositoryPolicyNotFoundException)
The specified repository and registry combination does not have an associated repository policy.
ScanNotFoundException(ScanNotFoundException)
The specified image scan could not be found. Ensure that image scanning is enabled on the repository and try again.
SecretNotFoundException(SecretNotFoundException)
The ARN of the secret specified in the pull through cache rule was not found. Update the pull through cache rule with a valid secret ARN and try again.
ServerException(ServerException)
These errors are usually caused by a server-side issue.
TooManyTagsException(TooManyTagsException)
The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.
UnableToAccessSecretException(UnableToAccessSecretException)
The secret is unable to be accessed. Verify the resource permissions for the secret and try again.
UnableToDecryptSecretValueException(UnableToDecryptSecretValueException)
The secret is accessible but is unable to be decrypted. Verify the resource permisisons and try again.
UnableToGetUpstreamImageException(UnableToGetUpstreamImageException)
The image or images were unable to be pulled using the pull through cache rule. This is usually caused because of an issue with the Secrets Manager secret containing the credentials for the upstream registry.
UnableToGetUpstreamLayerException(UnableToGetUpstreamLayerException)
There was an issue getting the upstream layer matching the pull through cache rule.
UnsupportedImageTypeException(UnsupportedImageTypeException)
The image is of a type that cannot be scanned.
UnsupportedUpstreamRegistryException(UnsupportedUpstreamRegistryException)
The specified upstream registry isn't supported.
UploadNotFoundException(UploadNotFoundException)
The upload could not be found, or the specified upload ID is not valid for this repository.
ValidationException(ValidationException)
There was an exception validating this request.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<BatchCheckLayerAvailabilityError> for Error
impl From<BatchCheckLayerAvailabilityError> for Error
source§fn from(err: BatchCheckLayerAvailabilityError) -> Self
fn from(err: BatchCheckLayerAvailabilityError) -> Self
source§impl From<BatchDeleteImageError> for Error
impl From<BatchDeleteImageError> for Error
source§fn from(err: BatchDeleteImageError) -> Self
fn from(err: BatchDeleteImageError) -> Self
source§impl From<BatchGetImageError> for Error
impl From<BatchGetImageError> for Error
source§fn from(err: BatchGetImageError) -> Self
fn from(err: BatchGetImageError) -> Self
source§impl From<BatchGetRepositoryScanningConfigurationError> for Error
impl From<BatchGetRepositoryScanningConfigurationError> for Error
source§fn from(err: BatchGetRepositoryScanningConfigurationError) -> Self
fn from(err: BatchGetRepositoryScanningConfigurationError) -> Self
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CompleteLayerUploadError> for Error
impl From<CompleteLayerUploadError> for Error
source§fn from(err: CompleteLayerUploadError) -> Self
fn from(err: CompleteLayerUploadError) -> Self
source§impl From<CreatePullThroughCacheRuleError> for Error
impl From<CreatePullThroughCacheRuleError> for Error
source§fn from(err: CreatePullThroughCacheRuleError) -> Self
fn from(err: CreatePullThroughCacheRuleError) -> Self
source§impl From<CreateRepositoryError> for Error
impl From<CreateRepositoryError> for Error
source§fn from(err: CreateRepositoryError) -> Self
fn from(err: CreateRepositoryError) -> Self
source§impl From<DeleteLifecyclePolicyError> for Error
impl From<DeleteLifecyclePolicyError> for Error
source§fn from(err: DeleteLifecyclePolicyError) -> Self
fn from(err: DeleteLifecyclePolicyError) -> Self
source§impl From<DeletePullThroughCacheRuleError> for Error
impl From<DeletePullThroughCacheRuleError> for Error
source§fn from(err: DeletePullThroughCacheRuleError) -> Self
fn from(err: DeletePullThroughCacheRuleError) -> Self
source§impl From<DeleteRegistryPolicyError> for Error
impl From<DeleteRegistryPolicyError> for Error
source§fn from(err: DeleteRegistryPolicyError) -> Self
fn from(err: DeleteRegistryPolicyError) -> Self
source§impl From<DeleteRepositoryError> for Error
impl From<DeleteRepositoryError> for Error
source§fn from(err: DeleteRepositoryError) -> Self
fn from(err: DeleteRepositoryError) -> Self
source§impl From<DeleteRepositoryPolicyError> for Error
impl From<DeleteRepositoryPolicyError> for Error
source§fn from(err: DeleteRepositoryPolicyError) -> Self
fn from(err: DeleteRepositoryPolicyError) -> Self
source§impl From<DescribeImageReplicationStatusError> for Error
impl From<DescribeImageReplicationStatusError> for Error
source§fn from(err: DescribeImageReplicationStatusError) -> Self
fn from(err: DescribeImageReplicationStatusError) -> Self
source§impl From<DescribeImageScanFindingsError> for Error
impl From<DescribeImageScanFindingsError> for Error
source§fn from(err: DescribeImageScanFindingsError) -> Self
fn from(err: DescribeImageScanFindingsError) -> Self
source§impl From<DescribeImagesError> for Error
impl From<DescribeImagesError> for Error
source§fn from(err: DescribeImagesError) -> Self
fn from(err: DescribeImagesError) -> Self
source§impl From<DescribePullThroughCacheRulesError> for Error
impl From<DescribePullThroughCacheRulesError> for Error
source§fn from(err: DescribePullThroughCacheRulesError) -> Self
fn from(err: DescribePullThroughCacheRulesError) -> Self
source§impl From<DescribeRegistryError> for Error
impl From<DescribeRegistryError> for Error
source§fn from(err: DescribeRegistryError) -> Self
fn from(err: DescribeRegistryError) -> Self
source§impl From<DescribeRepositoriesError> for Error
impl From<DescribeRepositoriesError> for Error
source§fn from(err: DescribeRepositoriesError) -> Self
fn from(err: DescribeRepositoriesError) -> Self
source§impl From<GetAuthorizationTokenError> for Error
impl From<GetAuthorizationTokenError> for Error
source§fn from(err: GetAuthorizationTokenError) -> Self
fn from(err: GetAuthorizationTokenError) -> Self
source§impl From<GetDownloadUrlForLayerError> for Error
impl From<GetDownloadUrlForLayerError> for Error
source§fn from(err: GetDownloadUrlForLayerError) -> Self
fn from(err: GetDownloadUrlForLayerError) -> Self
source§impl From<GetLifecyclePolicyError> for Error
impl From<GetLifecyclePolicyError> for Error
source§fn from(err: GetLifecyclePolicyError) -> Self
fn from(err: GetLifecyclePolicyError) -> Self
source§impl From<GetLifecyclePolicyPreviewError> for Error
impl From<GetLifecyclePolicyPreviewError> for Error
source§fn from(err: GetLifecyclePolicyPreviewError) -> Self
fn from(err: GetLifecyclePolicyPreviewError) -> Self
source§impl From<GetRegistryPolicyError> for Error
impl From<GetRegistryPolicyError> for Error
source§fn from(err: GetRegistryPolicyError) -> Self
fn from(err: GetRegistryPolicyError) -> Self
source§impl From<GetRegistryScanningConfigurationError> for Error
impl From<GetRegistryScanningConfigurationError> for Error
source§fn from(err: GetRegistryScanningConfigurationError) -> Self
fn from(err: GetRegistryScanningConfigurationError) -> Self
source§impl From<GetRepositoryPolicyError> for Error
impl From<GetRepositoryPolicyError> for Error
source§fn from(err: GetRepositoryPolicyError) -> Self
fn from(err: GetRepositoryPolicyError) -> Self
source§impl From<InitiateLayerUploadError> for Error
impl From<InitiateLayerUploadError> for Error
source§fn from(err: InitiateLayerUploadError) -> Self
fn from(err: InitiateLayerUploadError) -> Self
source§impl From<ListImagesError> for Error
impl From<ListImagesError> for Error
source§fn from(err: ListImagesError) -> Self
fn from(err: ListImagesError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<PutImageError> for Error
impl From<PutImageError> for Error
source§fn from(err: PutImageError) -> Self
fn from(err: PutImageError) -> Self
source§impl From<PutImageScanningConfigurationError> for Error
impl From<PutImageScanningConfigurationError> for Error
source§fn from(err: PutImageScanningConfigurationError) -> Self
fn from(err: PutImageScanningConfigurationError) -> Self
source§impl From<PutImageTagMutabilityError> for Error
impl From<PutImageTagMutabilityError> for Error
source§fn from(err: PutImageTagMutabilityError) -> Self
fn from(err: PutImageTagMutabilityError) -> Self
source§impl From<PutLifecyclePolicyError> for Error
impl From<PutLifecyclePolicyError> for Error
source§fn from(err: PutLifecyclePolicyError) -> Self
fn from(err: PutLifecyclePolicyError) -> Self
source§impl From<PutRegistryPolicyError> for Error
impl From<PutRegistryPolicyError> for Error
source§fn from(err: PutRegistryPolicyError) -> Self
fn from(err: PutRegistryPolicyError) -> Self
source§impl From<PutRegistryScanningConfigurationError> for Error
impl From<PutRegistryScanningConfigurationError> for Error
source§fn from(err: PutRegistryScanningConfigurationError) -> Self
fn from(err: PutRegistryScanningConfigurationError) -> Self
source§impl From<PutReplicationConfigurationError> for Error
impl From<PutReplicationConfigurationError> for Error
source§fn from(err: PutReplicationConfigurationError) -> Self
fn from(err: PutReplicationConfigurationError) -> Self
source§impl<R> From<SdkError<BatchCheckLayerAvailabilityError, R>> for Error
impl<R> From<SdkError<BatchCheckLayerAvailabilityError, R>> for Error
source§fn from(err: SdkError<BatchCheckLayerAvailabilityError, R>) -> Self
fn from(err: SdkError<BatchCheckLayerAvailabilityError, R>) -> Self
source§impl<R> From<SdkError<BatchDeleteImageError, R>> for Error
impl<R> From<SdkError<BatchDeleteImageError, R>> for Error
source§fn from(err: SdkError<BatchDeleteImageError, R>) -> Self
fn from(err: SdkError<BatchDeleteImageError, R>) -> Self
source§impl<R> From<SdkError<BatchGetImageError, R>> for Error
impl<R> From<SdkError<BatchGetImageError, R>> for Error
source§fn from(err: SdkError<BatchGetImageError, R>) -> Self
fn from(err: SdkError<BatchGetImageError, R>) -> Self
source§impl<R> From<SdkError<BatchGetRepositoryScanningConfigurationError, R>> for Error
impl<R> From<SdkError<BatchGetRepositoryScanningConfigurationError, R>> for Error
source§fn from(err: SdkError<BatchGetRepositoryScanningConfigurationError, R>) -> Self
fn from(err: SdkError<BatchGetRepositoryScanningConfigurationError, R>) -> Self
source§impl<R> From<SdkError<CompleteLayerUploadError, R>> for Error
impl<R> From<SdkError<CompleteLayerUploadError, R>> for Error
source§fn from(err: SdkError<CompleteLayerUploadError, R>) -> Self
fn from(err: SdkError<CompleteLayerUploadError, R>) -> Self
source§impl<R> From<SdkError<CreatePullThroughCacheRuleError, R>> for Error
impl<R> From<SdkError<CreatePullThroughCacheRuleError, R>> for Error
source§fn from(err: SdkError<CreatePullThroughCacheRuleError, R>) -> Self
fn from(err: SdkError<CreatePullThroughCacheRuleError, R>) -> Self
source§impl<R> From<SdkError<CreateRepositoryError, R>> for Error
impl<R> From<SdkError<CreateRepositoryError, R>> for Error
source§fn from(err: SdkError<CreateRepositoryError, R>) -> Self
fn from(err: SdkError<CreateRepositoryError, R>) -> Self
source§impl<R> From<SdkError<DeleteLifecyclePolicyError, R>> for Error
impl<R> From<SdkError<DeleteLifecyclePolicyError, R>> for Error
source§fn from(err: SdkError<DeleteLifecyclePolicyError, R>) -> Self
fn from(err: SdkError<DeleteLifecyclePolicyError, R>) -> Self
source§impl<R> From<SdkError<DeletePullThroughCacheRuleError, R>> for Error
impl<R> From<SdkError<DeletePullThroughCacheRuleError, R>> for Error
source§fn from(err: SdkError<DeletePullThroughCacheRuleError, R>) -> Self
fn from(err: SdkError<DeletePullThroughCacheRuleError, R>) -> Self
source§impl<R> From<SdkError<DeleteRegistryPolicyError, R>> for Error
impl<R> From<SdkError<DeleteRegistryPolicyError, R>> for Error
source§fn from(err: SdkError<DeleteRegistryPolicyError, R>) -> Self
fn from(err: SdkError<DeleteRegistryPolicyError, R>) -> Self
source§impl<R> From<SdkError<DeleteRepositoryError, R>> for Error
impl<R> From<SdkError<DeleteRepositoryError, R>> for Error
source§fn from(err: SdkError<DeleteRepositoryError, R>) -> Self
fn from(err: SdkError<DeleteRepositoryError, R>) -> Self
source§impl<R> From<SdkError<DeleteRepositoryPolicyError, R>> for Error
impl<R> From<SdkError<DeleteRepositoryPolicyError, R>> for Error
source§fn from(err: SdkError<DeleteRepositoryPolicyError, R>) -> Self
fn from(err: SdkError<DeleteRepositoryPolicyError, R>) -> Self
source§impl<R> From<SdkError<DescribeImageReplicationStatusError, R>> for Error
impl<R> From<SdkError<DescribeImageReplicationStatusError, R>> for Error
source§fn from(err: SdkError<DescribeImageReplicationStatusError, R>) -> Self
fn from(err: SdkError<DescribeImageReplicationStatusError, R>) -> Self
source§impl<R> From<SdkError<DescribeImageScanFindingsError, R>> for Error
impl<R> From<SdkError<DescribeImageScanFindingsError, R>> for Error
source§fn from(err: SdkError<DescribeImageScanFindingsError, R>) -> Self
fn from(err: SdkError<DescribeImageScanFindingsError, R>) -> Self
source§impl<R> From<SdkError<DescribeImagesError, R>> for Error
impl<R> From<SdkError<DescribeImagesError, R>> for Error
source§fn from(err: SdkError<DescribeImagesError, R>) -> Self
fn from(err: SdkError<DescribeImagesError, R>) -> Self
source§impl<R> From<SdkError<DescribePullThroughCacheRulesError, R>> for Error
impl<R> From<SdkError<DescribePullThroughCacheRulesError, R>> for Error
source§fn from(err: SdkError<DescribePullThroughCacheRulesError, R>) -> Self
fn from(err: SdkError<DescribePullThroughCacheRulesError, R>) -> Self
source§impl<R> From<SdkError<DescribeRegistryError, R>> for Error
impl<R> From<SdkError<DescribeRegistryError, R>> for Error
source§fn from(err: SdkError<DescribeRegistryError, R>) -> Self
fn from(err: SdkError<DescribeRegistryError, R>) -> Self
source§impl<R> From<SdkError<DescribeRepositoriesError, R>> for Error
impl<R> From<SdkError<DescribeRepositoriesError, R>> for Error
source§fn from(err: SdkError<DescribeRepositoriesError, R>) -> Self
fn from(err: SdkError<DescribeRepositoriesError, R>) -> Self
source§impl<R> From<SdkError<GetAuthorizationTokenError, R>> for Error
impl<R> From<SdkError<GetAuthorizationTokenError, R>> for Error
source§fn from(err: SdkError<GetAuthorizationTokenError, R>) -> Self
fn from(err: SdkError<GetAuthorizationTokenError, R>) -> Self
source§impl<R> From<SdkError<GetDownloadUrlForLayerError, R>> for Error
impl<R> From<SdkError<GetDownloadUrlForLayerError, R>> for Error
source§fn from(err: SdkError<GetDownloadUrlForLayerError, R>) -> Self
fn from(err: SdkError<GetDownloadUrlForLayerError, R>) -> Self
source§impl<R> From<SdkError<GetLifecyclePolicyError, R>> for Error
impl<R> From<SdkError<GetLifecyclePolicyError, R>> for Error
source§fn from(err: SdkError<GetLifecyclePolicyError, R>) -> Self
fn from(err: SdkError<GetLifecyclePolicyError, R>) -> Self
source§impl<R> From<SdkError<GetLifecyclePolicyPreviewError, R>> for Error
impl<R> From<SdkError<GetLifecyclePolicyPreviewError, R>> for Error
source§fn from(err: SdkError<GetLifecyclePolicyPreviewError, R>) -> Self
fn from(err: SdkError<GetLifecyclePolicyPreviewError, R>) -> Self
source§impl<R> From<SdkError<GetRegistryPolicyError, R>> for Error
impl<R> From<SdkError<GetRegistryPolicyError, R>> for Error
source§fn from(err: SdkError<GetRegistryPolicyError, R>) -> Self
fn from(err: SdkError<GetRegistryPolicyError, R>) -> Self
source§impl<R> From<SdkError<GetRegistryScanningConfigurationError, R>> for Error
impl<R> From<SdkError<GetRegistryScanningConfigurationError, R>> for Error
source§fn from(err: SdkError<GetRegistryScanningConfigurationError, R>) -> Self
fn from(err: SdkError<GetRegistryScanningConfigurationError, R>) -> Self
source§impl<R> From<SdkError<GetRepositoryPolicyError, R>> for Error
impl<R> From<SdkError<GetRepositoryPolicyError, R>> for Error
source§fn from(err: SdkError<GetRepositoryPolicyError, R>) -> Self
fn from(err: SdkError<GetRepositoryPolicyError, R>) -> Self
source§impl<R> From<SdkError<InitiateLayerUploadError, R>> for Error
impl<R> From<SdkError<InitiateLayerUploadError, R>> for Error
source§fn from(err: SdkError<InitiateLayerUploadError, R>) -> Self
fn from(err: SdkError<InitiateLayerUploadError, R>) -> Self
source§impl<R> From<SdkError<ListImagesError, R>> for Error
impl<R> From<SdkError<ListImagesError, R>> for Error
source§fn from(err: SdkError<ListImagesError, R>) -> Self
fn from(err: SdkError<ListImagesError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<PutImageError, R>> for Error
impl<R> From<SdkError<PutImageError, R>> for Error
source§fn from(err: SdkError<PutImageError, R>) -> Self
fn from(err: SdkError<PutImageError, R>) -> Self
source§impl<R> From<SdkError<PutImageScanningConfigurationError, R>> for Error
impl<R> From<SdkError<PutImageScanningConfigurationError, R>> for Error
source§fn from(err: SdkError<PutImageScanningConfigurationError, R>) -> Self
fn from(err: SdkError<PutImageScanningConfigurationError, R>) -> Self
source§impl<R> From<SdkError<PutImageTagMutabilityError, R>> for Error
impl<R> From<SdkError<PutImageTagMutabilityError, R>> for Error
source§fn from(err: SdkError<PutImageTagMutabilityError, R>) -> Self
fn from(err: SdkError<PutImageTagMutabilityError, R>) -> Self
source§impl<R> From<SdkError<PutLifecyclePolicyError, R>> for Error
impl<R> From<SdkError<PutLifecyclePolicyError, R>> for Error
source§fn from(err: SdkError<PutLifecyclePolicyError, R>) -> Self
fn from(err: SdkError<PutLifecyclePolicyError, R>) -> Self
source§impl<R> From<SdkError<PutRegistryPolicyError, R>> for Error
impl<R> From<SdkError<PutRegistryPolicyError, R>> for Error
source§fn from(err: SdkError<PutRegistryPolicyError, R>) -> Self
fn from(err: SdkError<PutRegistryPolicyError, R>) -> Self
source§impl<R> From<SdkError<PutRegistryScanningConfigurationError, R>> for Error
impl<R> From<SdkError<PutRegistryScanningConfigurationError, R>> for Error
source§fn from(err: SdkError<PutRegistryScanningConfigurationError, R>) -> Self
fn from(err: SdkError<PutRegistryScanningConfigurationError, R>) -> Self
source§impl<R> From<SdkError<PutReplicationConfigurationError, R>> for Error
impl<R> From<SdkError<PutReplicationConfigurationError, R>> for Error
source§fn from(err: SdkError<PutReplicationConfigurationError, R>) -> Self
fn from(err: SdkError<PutReplicationConfigurationError, R>) -> Self
source§impl<R> From<SdkError<SetRepositoryPolicyError, R>> for Error
impl<R> From<SdkError<SetRepositoryPolicyError, R>> for Error
source§fn from(err: SdkError<SetRepositoryPolicyError, R>) -> Self
fn from(err: SdkError<SetRepositoryPolicyError, R>) -> Self
source§impl<R> From<SdkError<StartImageScanError, R>> for Error
impl<R> From<SdkError<StartImageScanError, R>> for Error
source§fn from(err: SdkError<StartImageScanError, R>) -> Self
fn from(err: SdkError<StartImageScanError, R>) -> Self
source§impl<R> From<SdkError<StartLifecyclePolicyPreviewError, R>> for Error
impl<R> From<SdkError<StartLifecyclePolicyPreviewError, R>> for Error
source§fn from(err: SdkError<StartLifecyclePolicyPreviewError, R>) -> Self
fn from(err: SdkError<StartLifecyclePolicyPreviewError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl<R> From<SdkError<UpdatePullThroughCacheRuleError, R>> for Error
impl<R> From<SdkError<UpdatePullThroughCacheRuleError, R>> for Error
source§fn from(err: SdkError<UpdatePullThroughCacheRuleError, R>) -> Self
fn from(err: SdkError<UpdatePullThroughCacheRuleError, R>) -> Self
source§impl<R> From<SdkError<UploadLayerPartError, R>> for Error
impl<R> From<SdkError<UploadLayerPartError, R>> for Error
source§fn from(err: SdkError<UploadLayerPartError, R>) -> Self
fn from(err: SdkError<UploadLayerPartError, R>) -> Self
source§impl<R> From<SdkError<ValidatePullThroughCacheRuleError, R>> for Error
impl<R> From<SdkError<ValidatePullThroughCacheRuleError, R>> for Error
source§fn from(err: SdkError<ValidatePullThroughCacheRuleError, R>) -> Self
fn from(err: SdkError<ValidatePullThroughCacheRuleError, R>) -> Self
source§impl From<SetRepositoryPolicyError> for Error
impl From<SetRepositoryPolicyError> for Error
source§fn from(err: SetRepositoryPolicyError) -> Self
fn from(err: SetRepositoryPolicyError) -> Self
source§impl From<StartImageScanError> for Error
impl From<StartImageScanError> for Error
source§fn from(err: StartImageScanError) -> Self
fn from(err: StartImageScanError) -> Self
source§impl From<StartLifecyclePolicyPreviewError> for Error
impl From<StartLifecyclePolicyPreviewError> for Error
source§fn from(err: StartLifecyclePolicyPreviewError) -> Self
fn from(err: StartLifecyclePolicyPreviewError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdatePullThroughCacheRuleError> for Error
impl From<UpdatePullThroughCacheRuleError> for Error
source§fn from(err: UpdatePullThroughCacheRuleError) -> Self
fn from(err: UpdatePullThroughCacheRuleError) -> Self
source§impl From<UploadLayerPartError> for Error
impl From<UploadLayerPartError> for Error
source§fn from(err: UploadLayerPartError) -> Self
fn from(err: UploadLayerPartError) -> Self
source§impl From<ValidatePullThroughCacheRuleError> for Error
impl From<ValidatePullThroughCacheRuleError> for Error
source§fn from(err: ValidatePullThroughCacheRuleError) -> Self
fn from(err: ValidatePullThroughCacheRuleError) -> Self
source§impl<O, E> From<WaiterError<O, E>> for Error
impl<O, E> From<WaiterError<O, E>> for Error
source§fn from(err: WaiterError<O, E>) -> Self
fn from(err: WaiterError<O, E>) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more