pub trait ArtifactStore: Send + Sync {
// Required methods
fn get(
&self,
key: &ArtifactKey,
) -> Result<Option<Arc<Artifact>>, StoreError>;
fn put(
&self,
key: &ArtifactKey,
artifact: Arc<Artifact>,
) -> Result<(), StoreError>;
fn contains(&self, key: &ArtifactKey) -> Result<bool, StoreError>;
}Expand description
Where step results live. Implemented by adapters (memory, Zarr, …).