pub enum DecisionSource {
Tuned,
MemoryCache,
DiskCache,
CacheMiss,
Disabled,
Busy,
Nested,
ValidationUnavailable,
}Expand description
Why a reference or selected implementation was returned.
Variants§
Tuned
A fresh search completed, possibly choosing the reference.
MemoryCache
Valid process-memory record, without a fresh synchronization or validation.
DiskCache
Persistent record validated once in this process before reuse.
CacheMiss
Cache-only miss; use the declared reference.
Disabled
Reference-only mode.
Busy
Another trial owns the device/key or the parallel-trial budget is full.
Nested
Nested trial without a usable memory record.
No supported numerical validator; use the declared reference.
Trait Implementations§
Source§impl Clone for DecisionSource
impl Clone for DecisionSource
Source§fn clone(&self) -> DecisionSource
fn clone(&self) -> DecisionSource
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 moreimpl Copy for DecisionSource
Source§impl Debug for DecisionSource
impl Debug for DecisionSource
impl Eq for DecisionSource
Source§impl PartialEq for DecisionSource
impl PartialEq for DecisionSource
impl StructuralPartialEq for DecisionSource
Auto Trait Implementations§
impl Freeze for DecisionSource
impl RefUnwindSafe for DecisionSource
impl Send for DecisionSource
impl Sync for DecisionSource
impl Unpin for DecisionSource
impl UnsafeUnpin for DecisionSource
impl UnwindSafe for DecisionSource
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.