pub enum OciErrorCode {
Show 14 variants
BlobUnknown,
BlobUploadInvalid,
BlobUploadUnknown,
DigestInvalid,
ManifestBlobUnknown,
ManifestInvalid,
ManifestUnknown,
NameInvalid,
NameUnknown,
SizeInvalid,
Unauthorized,
Denied,
Unsupported,
TooManyRequests,
}Expand description
Registry error codes defined by OCI Distribution Spec v1.1 §3.1.
The Display impl emits the uppercase-with-underscores string that
appears on the wire.
Variants§
BlobUnknown
Blob unknown to registry. Spec §3.1.
BlobUploadInvalid
Blob upload invalid. Spec §3.1.
BlobUploadUnknown
Blob upload unknown to registry. Spec §3.1.
DigestInvalid
Provided digest did not match uploaded content.
ManifestBlobUnknown
Blob unknown to registry (during manifest PUT).
ManifestInvalid
Manifest invalid.
ManifestUnknown
Manifest unknown to registry.
NameInvalid
Invalid repository name.
NameUnknown
Repository name not known to registry.
SizeInvalid
Provided length did not match content length.
Authentication required.
Denied
Requested access to the resource is denied.
Unsupported
The operation is unsupported.
TooManyRequests
The client has been rate-limited.
Implementations§
Source§impl OciErrorCode
impl OciErrorCode
Trait Implementations§
Source§impl Clone for OciErrorCode
impl Clone for OciErrorCode
Source§fn clone(&self) -> OciErrorCode
fn clone(&self) -> OciErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OciErrorCode
impl Debug for OciErrorCode
Source§impl Display for OciErrorCode
impl Display for OciErrorCode
Source§impl PartialEq for OciErrorCode
impl PartialEq for OciErrorCode
impl Copy 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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more