pub struct SimilarCodeCacheSummary {
pub status: SimilarCodeCacheStatus,
pub hits: u64,
pub misses: u64,
pub writes: u64,
pub invalid_entries: u64,
}Expand description
Privacy-safe cache accounting. Source fragments are never represented.
Fields§
§status: SimilarCodeCacheStatusAggregate cache outcome.
hits: u64Valid vector cache hits.
misses: u64Vector cache misses.
writes: u64Newly written vector cache entries.
invalid_entries: u64Corrupt or incompatible entries ignored safely.
Trait Implementations§
Source§impl Clone for SimilarCodeCacheSummary
impl Clone for SimilarCodeCacheSummary
Source§impl Debug for SimilarCodeCacheSummary
impl Debug for SimilarCodeCacheSummary
Source§impl<'de> Deserialize<'de> for SimilarCodeCacheSummary
impl<'de> Deserialize<'de> for SimilarCodeCacheSummary
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 SimilarCodeCacheSummary
Source§impl PartialEq for SimilarCodeCacheSummary
impl PartialEq for SimilarCodeCacheSummary
Source§impl Serialize for SimilarCodeCacheSummary
impl Serialize for SimilarCodeCacheSummary
impl StructuralPartialEq for SimilarCodeCacheSummary
Auto Trait Implementations§
impl Freeze for SimilarCodeCacheSummary
impl RefUnwindSafe for SimilarCodeCacheSummary
impl Send for SimilarCodeCacheSummary
impl Sync for SimilarCodeCacheSummary
impl Unpin for SimilarCodeCacheSummary
impl UnsafeUnpin for SimilarCodeCacheSummary
impl UnwindSafe for SimilarCodeCacheSummary
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.