pub struct CacheEntry {
pub kind: CacheKind,
pub key: String,
pub path: PathBuf,
pub size_bytes: u64,
pub legacy: bool,
}Expand description
One entry in the global store.
Fields§
§kind: CacheKind§key: String§path: PathBuf§size_bytes: u64§legacy: boolTrue for the legacy github/checkouts layout — rendered with a
(legacy) tag and a (legacy) key prefix.
Trait Implementations§
Source§impl Clone for CacheEntry
impl Clone for CacheEntry
Source§impl Debug for CacheEntry
impl Debug for CacheEntry
impl Eq for CacheEntry
Source§impl PartialEq for CacheEntry
impl PartialEq for CacheEntry
impl StructuralPartialEq for CacheEntry
Auto Trait Implementations§
impl Forget for CacheEntry
impl Freeze for CacheEntry
impl Move for CacheEntry
impl RefUnwindSafe for CacheEntry
impl Send for CacheEntry
impl Sync for CacheEntry
impl Unpin for CacheEntry
impl UnsafeUnpin for CacheEntry
impl UnwindSafe for CacheEntry
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