pub struct CachedArtifact {
pub path: PathBuf,
pub digest_sha256: String,
pub bytes: u64,
}Expand description
A verified artifact already sitting in the cache.
Fields§
§path: PathBufFull path to the cached .modl file.
digest_sha256: StringThe lowercase hex sha256 digest encoded in the filename.
bytes: u64On-disk size in bytes.
Trait Implementations§
Source§impl Clone for CachedArtifact
impl Clone for CachedArtifact
Source§impl Debug for CachedArtifact
impl Debug for CachedArtifact
impl Eq for CachedArtifact
Source§impl PartialEq for CachedArtifact
impl PartialEq for CachedArtifact
impl StructuralPartialEq for CachedArtifact
Auto Trait Implementations§
impl Freeze for CachedArtifact
impl RefUnwindSafe for CachedArtifact
impl Send for CachedArtifact
impl Sync for CachedArtifact
impl Unpin for CachedArtifact
impl UnsafeUnpin for CachedArtifact
impl UnwindSafe for CachedArtifact
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.