pub struct ReadFreshness { /* private fields */ }Expand description
The output of probe_read_freshness (A8): per-message-index freshness
verdicts, threaded into project_messages via
ReductionPolicy::read_freshness. Opaque on purpose — build it only
through probe_read_freshness; the empty Default means “nothing is
fresh,” so a policy with elide_stale_reads set but no probe run against
it elides nothing (fails closed).
Trait Implementations§
Source§impl Clone for ReadFreshness
impl Clone for ReadFreshness
Source§fn clone(&self) -> ReadFreshness
fn clone(&self) -> ReadFreshness
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadFreshness
impl Debug for ReadFreshness
Source§impl Default for ReadFreshness
impl Default for ReadFreshness
Source§fn default() -> ReadFreshness
fn default() -> ReadFreshness
Returns the “default value” for a type. Read more
impl Eq for ReadFreshness
Source§impl PartialEq for ReadFreshness
impl PartialEq for ReadFreshness
impl StructuralPartialEq for ReadFreshness
Auto Trait Implementations§
impl Freeze for ReadFreshness
impl RefUnwindSafe for ReadFreshness
impl Send for ReadFreshness
impl Sync for ReadFreshness
impl Unpin for ReadFreshness
impl UnsafeUnpin for ReadFreshness
impl UnwindSafe for ReadFreshness
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.