pub struct SqliteProviderArgumentStore { /* private fields */ }Expand description
SQLite-backed raw provider argument store.
Implementations§
Trait Implementations§
Source§impl Clone for SqliteProviderArgumentStore
impl Clone for SqliteProviderArgumentStore
Source§fn clone(&self) -> SqliteProviderArgumentStore
fn clone(&self) -> SqliteProviderArgumentStore
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 SqliteProviderArgumentStore
impl Debug for SqliteProviderArgumentStore
Source§impl ProviderArgumentStore for SqliteProviderArgumentStore
impl ProviderArgumentStore for SqliteProviderArgumentStore
Source§fn store_provider_arguments(
&self,
provider_ref: &str,
call_id: &str,
canonical_tool_name: &CanonicalToolName,
raw_arguments: &str,
) -> Result<Option<ContentRef>, AgentError>
fn store_provider_arguments( &self, provider_ref: &str, call_id: &str, canonical_tool_name: &CanonicalToolName, raw_arguments: &str, ) -> Result<Option<ContentRef>, AgentError>
Stores raw provider tool arguments and returns a content ref when the
host wants executors to resolve arguments through normal content policy.
Source§fn load_provider_arguments_json(
&self,
content_ref: &ContentRef,
) -> Result<Value, AgentError>
fn load_provider_arguments_json( &self, content_ref: &ContentRef, ) -> Result<Value, AgentError>
Loads stored provider tool arguments as JSON through the same content
ref returned by
store_provider_arguments.Auto Trait Implementations§
impl Freeze for SqliteProviderArgumentStore
impl RefUnwindSafe for SqliteProviderArgumentStore
impl Send for SqliteProviderArgumentStore
impl Sync for SqliteProviderArgumentStore
impl Unpin for SqliteProviderArgumentStore
impl UnsafeUnpin for SqliteProviderArgumentStore
impl UnwindSafe for SqliteProviderArgumentStore
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