pub struct InMemoryArtifactStore { /* private fields */ }Expand description
In-memory artifact store grouped by session id.
Implementations§
Trait Implementations§
Source§impl ArtifactStorePort for InMemoryArtifactStore
impl ArtifactStorePort for InMemoryArtifactStore
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,
Source§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
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