pub struct SqliteStoreBundle { /* private fields */ }Expand description
SQLite-backed store bundle sharing one database path.
Implementations§
Source§impl SqliteStoreBundle
impl SqliteStoreBundle
Sourcepub fn open(path: impl Into<PathBuf>) -> Result<Self, AgentError>
pub fn open(path: impl Into<PathBuf>) -> Result<Self, AgentError>
Opens a SQLite store bundle rooted at one database file.
Sourcepub fn journal(&self) -> Result<SqliteRunJournal, AgentError>
pub fn journal(&self) -> Result<SqliteRunJournal, AgentError>
Returns a run journal adapter.
Sourcepub fn checkpoints(&self) -> Result<SqliteCheckpointStore, AgentError>
pub fn checkpoints(&self) -> Result<SqliteCheckpointStore, AgentError>
Returns a checkpoint store adapter.
Sourcepub fn content(&self) -> Result<SqliteContentStore, AgentError>
pub fn content(&self) -> Result<SqliteContentStore, AgentError>
Returns a content store adapter.
Sourcepub fn event_archive(&self) -> Result<SqliteEventArchive, AgentError>
pub fn event_archive(&self) -> Result<SqliteEventArchive, AgentError>
Returns an event archive adapter.
Sourcepub fn provider_arguments(
&self,
) -> Result<SqliteProviderArgumentStore, AgentError>
pub fn provider_arguments( &self, ) -> Result<SqliteProviderArgumentStore, AgentError>
Returns a provider argument store adapter.
Sourcepub fn agent_pool(&self) -> Result<SqliteAgentPoolStore, AgentError>
pub fn agent_pool(&self) -> Result<SqliteAgentPoolStore, AgentError>
Returns an agent-pool store adapter.
Sourcepub fn tool_execution(&self) -> Result<SqliteToolExecutionStore, AgentError>
pub fn tool_execution(&self) -> Result<SqliteToolExecutionStore, AgentError>
Returns a rebuildable tool-execution projection store adapter.
Trait Implementations§
Source§impl Clone for SqliteStoreBundle
impl Clone for SqliteStoreBundle
Source§fn clone(&self) -> SqliteStoreBundle
fn clone(&self) -> SqliteStoreBundle
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 moreAuto Trait Implementations§
impl Freeze for SqliteStoreBundle
impl RefUnwindSafe for SqliteStoreBundle
impl Send for SqliteStoreBundle
impl Sync for SqliteStoreBundle
impl Unpin for SqliteStoreBundle
impl UnsafeUnpin for SqliteStoreBundle
impl UnwindSafe for SqliteStoreBundle
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