pub enum FreshnessCheck {
Fresh,
Stale {
signed_at: DateTime<Utc>,
freshness_window_secs: u32,
age_secs: i64,
},
}Variants§
Fresh
Stale
Caller refuses to act on the target. Common response: log + drop the dispatch; the next planner tick will re-emit (with a fresher manifest if CI has signed one).
Trait Implementations§
Source§impl Clone for FreshnessCheck
impl Clone for FreshnessCheck
Source§fn clone(&self) -> FreshnessCheck
fn clone(&self) -> FreshnessCheck
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 FreshnessCheck
impl Debug for FreshnessCheck
Source§impl PartialEq for FreshnessCheck
impl PartialEq for FreshnessCheck
impl Eq for FreshnessCheck
impl StructuralPartialEq for FreshnessCheck
Auto Trait Implementations§
impl Freeze for FreshnessCheck
impl RefUnwindSafe for FreshnessCheck
impl Send for FreshnessCheck
impl Sync for FreshnessCheck
impl Unpin for FreshnessCheck
impl UnwindSafe for FreshnessCheck
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key and return true if they are equal.§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
Checks if this value is equivalent to the given key. Read more