pub enum DegradeReason {
PermanentlyGone,
AuthorizationChanged,
TemporarilyUnavailable,
NoManifest,
ManifestRejected,
KeyUnavailable,
Corrupt,
}Expand description
Why an asset is shown at a lower representation than requested.
Variants§
PermanentlyGone
The representation is permanently gone (410 / purged).
AuthorizationChanged
Authorization changed (403) and, after a membership re-sync, the fetch
still failed — the asset was likely unshared.
A transient failure; the asset stays listed and re-fetches automatically.
NoManifest
No signed derivative manifest describes the blob the feed names, so there is no key to open it with. Nothing was fetched. Recovery-first: the derivative is rebuildable from the original.
ManifestRejected
The derivative’s manifest names a still format outside the closed set, or records no AMK epoch — a structural rejection of a manifest this reader did not author. Nothing was fetched.
This reader does not hold the AMK epoch the manifest names. Nothing was fetched.
Corrupt
The ciphertext matched its content address but failed authentication under the key its manifest selects; the copy was discarded. Recovery-first: regenerate from the original.
Trait Implementations§
Source§impl Clone for DegradeReason
impl Clone for DegradeReason
Source§fn clone(&self) -> DegradeReason
fn clone(&self) -> DegradeReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DegradeReason
Source§impl Debug for DegradeReason
impl Debug for DegradeReason
impl Eq for DegradeReason
Source§impl PartialEq for DegradeReason
impl PartialEq for DegradeReason
Source§fn eq(&self, other: &DegradeReason) -> bool
fn eq(&self, other: &DegradeReason) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DegradeReason
Auto Trait Implementations§
impl Freeze for DegradeReason
impl RefUnwindSafe for DegradeReason
impl Send for DegradeReason
impl Sync for DegradeReason
impl Unpin for DegradeReason
impl UnsafeUnpin for DegradeReason
impl UnwindSafe for DegradeReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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