Enum oci_client::errors::OciErrorCode
source · pub enum OciErrorCode {
Show 16 variants
BlobUnknown,
BlobUploadInvalid,
BlobUploadUnknown,
DigestInvalid,
ManifestBlobUnknown,
ManifestInvalid,
ManifestUnknown,
ManifestUnverified,
NameInvalid,
NameUnknown,
SizeInvalid,
TagInvalid,
Unauthorized,
Denied,
Unsupported,
Toomanyrequests,
}
Expand description
OCI error codes
Outlined here
Variants§
BlobUnknown
Blob unknown to registry
This error MAY be returned when a blob is unknown to the registry in a specified repository. This can be returned with a standard get or if a manifest references an unknown layer during upload.
BlobUploadInvalid
Blob upload is invalid
The blob upload encountered an error and can no longer proceed.
BlobUploadUnknown
Blob upload is unknown to registry
DigestInvalid
Provided digest did not match uploaded content.
ManifestBlobUnknown
Blob is unknown to registry
ManifestInvalid
Manifest is invalid
During upload, manifests undergo several checks ensuring validity. If those checks fail, this error MAY be returned, unless a more specific error is included. The detail will contain information the failed validation.
ManifestUnknown
Manifest unknown
This error is returned when the manifest, identified by name and tag is unknown to the repository.
ManifestUnverified
Manifest failed signature validation
DEPRECATED: This error code has been removed from the OCI spec.
NameInvalid
Invalid repository name
NameUnknown
Repository name is not known
SizeInvalid
Provided length did not match content length
TagInvalid
Manifest tag did not match URI
DEPRECATED: This error code has been removed from the OCI spec.
Authentication required.
Denied
Requested access to the resource is denied
Unsupported
This operation is unsupported
Toomanyrequests
Too many requests from client
Trait Implementations§
source§impl Debug for OciErrorCode
impl Debug for OciErrorCode
source§impl<'de> Deserialize<'de> for OciErrorCode
impl<'de> Deserialize<'de> for OciErrorCode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for OciErrorCode
impl PartialEq for OciErrorCode
source§impl Serialize for OciErrorCode
impl Serialize for OciErrorCode
impl Eq for OciErrorCode
impl StructuralPartialEq for OciErrorCode
Auto Trait Implementations§
impl Freeze for OciErrorCode
impl RefUnwindSafe for OciErrorCode
impl Send for OciErrorCode
impl Sync for OciErrorCode
impl Unpin for OciErrorCode
impl UnwindSafe for OciErrorCode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.