pub struct FileToolExecutionStore { /* private fields */ }Expand description
Filesystem-backed rebuildable tool-execution projection store.
Implementations§
Trait Implementations§
Source§impl Clone for FileToolExecutionStore
impl Clone for FileToolExecutionStore
Source§fn clone(&self) -> FileToolExecutionStore
fn clone(&self) -> FileToolExecutionStore
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 FileToolExecutionStore
impl Debug for FileToolExecutionStore
Source§impl ToolExecutionStore for FileToolExecutionStore
impl ToolExecutionStore for FileToolExecutionStore
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 FileToolExecutionStore
impl RefUnwindSafe for FileToolExecutionStore
impl Send for FileToolExecutionStore
impl Sync for FileToolExecutionStore
impl Unpin for FileToolExecutionStore
impl UnsafeUnpin for FileToolExecutionStore
impl UnwindSafe for FileToolExecutionStore
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