pub enum SimilarCodeCacheStatus {
Disabled,
Hit,
Miss,
Mixed,
}Expand description
Vector cache outcome for a run.
Variants§
Disabled
Cache use was disabled.
Hit
Every requested vector was found in the cache.
Miss
No requested vector was found in the cache.
Mixed
The run used both cached and newly generated vectors.
Trait Implementations§
Source§impl Clone for SimilarCodeCacheStatus
impl Clone for SimilarCodeCacheStatus
impl Copy for SimilarCodeCacheStatus
Source§impl Debug for SimilarCodeCacheStatus
impl Debug for SimilarCodeCacheStatus
Source§impl<'de> Deserialize<'de> for SimilarCodeCacheStatus
impl<'de> Deserialize<'de> for SimilarCodeCacheStatus
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
impl Eq for SimilarCodeCacheStatus
Source§impl PartialEq for SimilarCodeCacheStatus
impl PartialEq for SimilarCodeCacheStatus
Source§impl Serialize for SimilarCodeCacheStatus
impl Serialize for SimilarCodeCacheStatus
impl StructuralPartialEq for SimilarCodeCacheStatus
Auto Trait Implementations§
impl Freeze for SimilarCodeCacheStatus
impl RefUnwindSafe for SimilarCodeCacheStatus
impl Send for SimilarCodeCacheStatus
impl Sync for SimilarCodeCacheStatus
impl Unpin for SimilarCodeCacheStatus
impl UnsafeUnpin for SimilarCodeCacheStatus
impl UnwindSafe for SimilarCodeCacheStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.