pub struct SqliteStore { /* private fields */ }Implementations§
Source§impl SqliteStore
impl SqliteStore
pub fn open( path: impl AsRef<Path>, ) -> Result<SqliteStore, Box<dyn Error + Send + Sync>>
pub fn open_readonly( path: impl AsRef<Path>, ) -> Result<SqliteStore, Box<dyn Error + Send + Sync>>
pub fn all_llm_call_rows( &self, ) -> Result<Vec<LlmCallRow>, Box<dyn Error + Send + Sync>>
pub fn token_usage_rows( &self, ) -> Result<Vec<TokenUsageRow>, Box<dyn Error + Send + Sync>>
pub fn tool_call_rows( &self, ) -> Result<Vec<ToolCallRow>, Box<dyn Error + Send + Sync>>
pub fn resource_sample_rows( &self, ) -> Result<Vec<ResourceSampleRow>, Box<dyn Error + Send + Sync>>
pub fn network_target_rows( &self, ) -> Result<Vec<NetworkTargetRow>, Box<dyn Error + Send + Sync>>
pub fn all_audit_event_rows( &self, ) -> Result<Vec<AuditEventRow>, Box<dyn Error + Send + Sync>>
pub fn process_node_rows( &self, ) -> Result<Vec<ProcessNodeRow>, Box<dyn Error + Send + Sync>>
Trait Implementations§
Source§impl ViewSink for SqliteStore
impl ViewSink for SqliteStore
fn llm_call( &mut self, row: &LlmCallRow, ) -> Result<(), Box<dyn Error + Send + Sync>>
fn token_usage( &mut self, row: &TokenUsageRow, ) -> Result<(), Box<dyn Error + Send + Sync>>
fn audit_event( &mut self, row: &AuditEventRow, ) -> Result<(), Box<dyn Error + Send + Sync>>
fn process_node( &mut self, row: &ProcessNodeRow, ) -> Result<(), Box<dyn Error + Send + Sync>>
fn tool_call( &mut self, row: &ToolCallRow, ) -> Result<(), Box<dyn Error + Send + Sync>>
fn network_target( &mut self, row: &NetworkTargetRow, ) -> Result<(), Box<dyn Error + Send + Sync>>
fn resource_sample( &mut self, row: &ResourceSampleRow, ) -> Result<(), Box<dyn Error + Send + Sync>>
Auto Trait Implementations§
impl !Freeze for SqliteStore
impl !RefUnwindSafe for SqliteStore
impl !Sync for SqliteStore
impl !UnwindSafe for SqliteStore
impl Send for SqliteStore
impl Unpin for SqliteStore
impl UnsafeUnpin for SqliteStore
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