pub enum DegradationReason {
TtlExpired,
Stale24h,
SourceUnavailable,
}Expand description
Reason an evidence class was downgraded.
Variants§
TtlExpired
The evidence’s TTL has expired.
Stale24h
The evidence is older than 24 hours with no TTL.
The upstream source is no longer reachable.
Trait Implementations§
Source§impl Clone for DegradationReason
impl Clone for DegradationReason
Source§fn clone(&self) -> DegradationReason
fn clone(&self) -> DegradationReason
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 DegradationReason
impl Debug for DegradationReason
Source§impl<'de> Deserialize<'de> for DegradationReason
impl<'de> Deserialize<'de> for DegradationReason
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
Auto Trait Implementations§
impl Freeze for DegradationReason
impl RefUnwindSafe for DegradationReason
impl Send for DegradationReason
impl Sync for DegradationReason
impl Unpin for DegradationReason
impl UnsafeUnpin for DegradationReason
impl UnwindSafe for DegradationReason
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