Enum oci_spec::distribution::ErrorCode
source · pub enum ErrorCode {
Show 14 variants
BlobUnknown,
BlobUploadInvalid,
BlobUploadUnknown,
DigestInvalid,
ManifestBlobUnknown,
ManifestInvalid,
ManifestUnknown,
NameInvalid,
NameUnknown,
SizeInvalid,
Unauthorized,
Denied,
Unsupported,
TooManyRequests,
}
Expand description
Unique identifier representing error code.
Variants§
BlobUnknown
Blob unknown to registry.
BlobUploadInvalid
Blob upload invalid.
BlobUploadUnknown
Blob upload unknown to registry.
DigestInvalid
Provided digest did not match uploaded content.
ManifestBlobUnknown
Blob unknown to registry.
ManifestInvalid
Manifest invalid.
ManifestUnknown
Manifest unknown.
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
Too many requests.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ErrorCode
impl<'de> Deserialize<'de> for ErrorCode
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)