Enum oci_distribution::errors::OciErrorCode [−][src]
OCI error codes
Outlined here: https://github.com/opencontainers/distribution-spec/blob/master/spec.md#errors-2
Variants
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.
Blob upload is invalid
The blob upload encountered an error and can no longer proceed.
Blob upload is unknown to registry
Provided digest did not match uploaded content.
Blob is unknown to registry
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.
Manifest unknown
This error is returned when the manifest, identified by name and tag is unknown to the repository.
Manifest failed signature validation
Invalid repository name
Repository name is not known
Provided length did not match content length
Manifest tag did not match URI
Authentication required.
Requested access to the resource is denied
This operation is unsupported
Trait Implementations
impl Debug for OciErrorCode
[src]
impl<'de> Deserialize<'de> for OciErrorCode
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<OciErrorCode> for OciErrorCode
[src]
fn eq(&self, other: &OciErrorCode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for OciErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for OciErrorCode
[src]
impl Send for OciErrorCode
[src]
impl Sync for OciErrorCode
[src]
impl Unpin for OciErrorCode
[src]
impl UnwindSafe for OciErrorCode
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,