pub enum CacheKind {
Snapshot {
profile: String,
},
Slot {
profile: String,
slot: usize,
},
Pnpm,
Maven,
Mirror,
}Expand description
What a cache volume holds.
Variants§
Snapshot
A profile’s read-only snapshot.
Slot
A slot’s layer changes and Docker Engine data.
Pnpm
The pnpm store all slots share.
Maven
The Maven repository all slots share.
Mirror
The Docker Hub mirror’s storage.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CacheKind
impl<'de> Deserialize<'de> for CacheKind
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 CacheKind
impl StructuralPartialEq for CacheKind
Auto Trait Implementations§
impl Freeze for CacheKind
impl RefUnwindSafe for CacheKind
impl Send for CacheKind
impl Sync for CacheKind
impl Unpin for CacheKind
impl UnsafeUnpin for CacheKind
impl UnwindSafe for CacheKind
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