pub struct CacheEntryInfo {
pub id: ArtifactId,
pub content_hash: [u8; 32],
pub size: u64,
pub pinned: bool,
pub kind: ArtifactKind,
}Expand description
One cache entry as reported.
Fields§
§id: ArtifactIdArtifact.
content_hash: [u8; 32]Whole-content hash.
size: u64Size in bytes.
pinned: boolProtected from eviction.
kind: ArtifactKindKind, for advertisement.
Trait Implementations§
Source§impl Clone for CacheEntryInfo
impl Clone for CacheEntryInfo
Source§impl Debug for CacheEntryInfo
impl Debug for CacheEntryInfo
impl Eq for CacheEntryInfo
Source§impl PartialEq for CacheEntryInfo
impl PartialEq for CacheEntryInfo
impl StructuralPartialEq for CacheEntryInfo
Auto Trait Implementations§
impl Freeze for CacheEntryInfo
impl RefUnwindSafe for CacheEntryInfo
impl Send for CacheEntryInfo
impl Sync for CacheEntryInfo
impl Unpin for CacheEntryInfo
impl UnsafeUnpin for CacheEntryInfo
impl UnwindSafe for CacheEntryInfo
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,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more