pub struct FileProviderArgumentStore { /* private fields */ }Expand description
Filesystem-backed raw provider argument store.
Implementations§
Trait Implementations§
Source§impl Clone for FileProviderArgumentStore
impl Clone for FileProviderArgumentStore
Source§fn clone(&self) -> FileProviderArgumentStore
fn clone(&self) -> FileProviderArgumentStore
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 FileProviderArgumentStore
impl Debug for FileProviderArgumentStore
Source§impl ProviderArgumentStore for FileProviderArgumentStore
impl ProviderArgumentStore for FileProviderArgumentStore
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 FileProviderArgumentStore
impl RefUnwindSafe for FileProviderArgumentStore
impl Send for FileProviderArgumentStore
impl Sync for FileProviderArgumentStore
impl Unpin for FileProviderArgumentStore
impl UnsafeUnpin for FileProviderArgumentStore
impl UnwindSafe for FileProviderArgumentStore
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