pub struct FileArtifactStore { /* private fields */ }Expand description
Durable artifact store backed by per-session JSON snapshots.
Implementations§
Trait Implementations§
Source§impl ArtifactStorePort for FileArtifactStore
impl ArtifactStorePort for FileArtifactStore
fn put<'life0, 'async_trait>(
&'life0 self,
artifact: ArtifactRecord,
) -> Pin<Box<dyn Future<Output = Result<(), StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_by_session<'life0, 'life1, 'async_trait>(
&'life0 self,
session_id: &'life1 SessionId,
) -> Pin<Box<dyn Future<Output = Result<Vec<ArtifactRecord>, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !Freeze for FileArtifactStore
impl !RefUnwindSafe for FileArtifactStore
impl Send for FileArtifactStore
impl Sync for FileArtifactStore
impl Unpin for FileArtifactStore
impl UnsafeUnpin for FileArtifactStore
impl !UnwindSafe for FileArtifactStore
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