pub struct SqliteToolExecutionStore { /* private fields */ }Expand description
SQLite-backed rebuildable tool-execution projection store.
Implementations§
Trait Implementations§
Source§impl Clone for SqliteToolExecutionStore
impl Clone for SqliteToolExecutionStore
Source§fn clone(&self) -> SqliteToolExecutionStore
fn clone(&self) -> SqliteToolExecutionStore
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 SqliteToolExecutionStore
impl Debug for SqliteToolExecutionStore
Source§impl ToolExecutionStore for SqliteToolExecutionStore
impl ToolExecutionStore for SqliteToolExecutionStore
Source§fn put_tool_execution_record(
&self,
record: ToolExecutionStoreRecord,
) -> Result<ToolExecutionStoreCursor, AgentError>
fn put_tool_execution_record( &self, record: ToolExecutionStoreRecord, ) -> Result<ToolExecutionStoreCursor, AgentError>
Stores one redacted tool-execution projection row.
Source§fn records_for_run(
&self,
run_id: &RunId,
) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
fn records_for_run( &self, run_id: &RunId, ) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
Reads all projection rows for one run, ordered by journal sequence.
Source§fn record_for_tool_call(
&self,
run_id: &RunId,
tool_call_id: &ToolCallId,
) -> Result<Option<ToolExecutionStoreRecord>, AgentError>
fn record_for_tool_call( &self, run_id: &RunId, tool_call_id: &ToolCallId, ) -> Result<Option<ToolExecutionStoreRecord>, AgentError>
Reads one projection row for a tool call.
Source§fn records_for_idempotency_key(
&self,
idempotency_key: &IdempotencyKey,
) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
fn records_for_idempotency_key( &self, idempotency_key: &IdempotencyKey, ) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
Reads projection rows with the supplied idempotency key.
Source§fn records_for_effect_id(
&self,
effect_id: &EffectId,
) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
fn records_for_effect_id( &self, effect_id: &EffectId, ) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
Reads projection rows with the supplied effect id.
Source§fn records_after_journal_seq(
&self,
run_id: &RunId,
journal_seq: u64,
) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
fn records_after_journal_seq( &self, run_id: &RunId, journal_seq: u64, ) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
Reads projection rows for one run after a durable journal sequence.
Source§fn records_in_journal_cursor_range(
&self,
run_id: &RunId,
after: Option<&JournalCursor>,
through: Option<&JournalCursor>,
) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
fn records_in_journal_cursor_range( &self, run_id: &RunId, after: Option<&JournalCursor>, through: Option<&JournalCursor>, ) -> Result<Vec<ToolExecutionStoreRecord>, AgentError>
Reads projection rows for one run inside a durable journal cursor range. Read more
Auto Trait Implementations§
impl Freeze for SqliteToolExecutionStore
impl RefUnwindSafe for SqliteToolExecutionStore
impl Send for SqliteToolExecutionStore
impl Sync for SqliteToolExecutionStore
impl Unpin for SqliteToolExecutionStore
impl UnsafeUnpin for SqliteToolExecutionStore
impl UnwindSafe for SqliteToolExecutionStore
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