pub struct InMemoryArtifactStore { /* private fields */ }Implementations§
Source§impl InMemoryArtifactStore
impl InMemoryArtifactStore
pub fn new() -> InMemoryArtifactStore
pub fn register( &mut self, artifact: &RefitArtifactRecord, handle: HandleRef, ) -> Result<(), DagMlError>
pub fn capture_refit_artifacts( &mut self, task: &NodeTask, result: &NodeResult, ) -> Result<Vec<RefitArtifactRecord>, DagMlError>
pub fn get(&self, artifact_id: &ArtifactId) -> Option<&ArtifactHandleRecord>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn refit_artifacts(&self) -> Vec<RefitArtifactRecord>
Trait Implementations§
Source§impl Clone for InMemoryArtifactStore
impl Clone for InMemoryArtifactStore
Source§fn clone(&self) -> InMemoryArtifactStore
fn clone(&self) -> InMemoryArtifactStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryArtifactStore
impl Debug for InMemoryArtifactStore
Source§impl Default for InMemoryArtifactStore
impl Default for InMemoryArtifactStore
Source§fn default() -> InMemoryArtifactStore
fn default() -> InMemoryArtifactStore
Returns the “default value” for a type. Read more
Source§impl RuntimeArtifactStore for InMemoryArtifactStore
impl RuntimeArtifactStore for InMemoryArtifactStore
fn materialize( &self, request: &ArtifactMaterializationRequest, ) -> Result<HandleRef, DagMlError>
Auto Trait Implementations§
impl Freeze for InMemoryArtifactStore
impl RefUnwindSafe for InMemoryArtifactStore
impl Send for InMemoryArtifactStore
impl Sync for InMemoryArtifactStore
impl Unpin for InMemoryArtifactStore
impl UnsafeUnpin for InMemoryArtifactStore
impl UnwindSafe for InMemoryArtifactStore
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