pub enum Freshness {
Current,
AtNextUpdate,
NotYetCurrent,
Stale,
MissingNextUpdate,
InvalidUpdateOrder,
Uncertain(Uncertainty),
}Expand description
Freshness of an authenticated source, independently of target scope.
Variants§
Current
The supplied moment is in [thisUpdate, nextUpdate).
AtNextUpdate
Exactly nextUpdate. Cache reuse and newly fetched replacement have different endpoint rules in RFC 5280 §6.3.3(a); no policy is inferred.
NotYetCurrent
The source was issued after the supplied moment.
Stale
The supplied moment is strictly after nextUpdate.
MissingNextUpdate
No next update was supplied; no lifetime is inferred.
InvalidUpdateOrder
The encoded update interval is empty or inverted.
Uncertain(Uncertainty)
UTC facts cannot establish one of the compared labels.
Trait Implementations§
impl Copy for Freshness
impl Eq for Freshness
impl StructuralPartialEq for Freshness
Auto Trait Implementations§
impl Freeze for Freshness
impl RefUnwindSafe for Freshness
impl Send for Freshness
impl Sync for Freshness
impl Unpin for Freshness
impl UnsafeUnpin for Freshness
impl UnwindSafe for Freshness
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