pub struct SqliteStore { /* private fields */ }Implementations§
Source§impl SqliteStore
impl SqliteStore
pub fn open(path: impl AsRef<Path>) -> ViewResult<Self>
pub fn open_readonly(path: impl AsRef<Path>) -> ViewResult<Self>
pub fn all_llm_call_rows(&self) -> ViewResult<Vec<LlmCallRow>>
pub fn token_usage_rows(&self) -> ViewResult<Vec<TokenUsageRow>>
pub fn tool_call_rows(&self) -> ViewResult<Vec<ToolCallRow>>
pub fn resource_sample_rows(&self) -> ViewResult<Vec<ResourceSampleRow>>
pub fn network_target_rows(&self) -> ViewResult<Vec<NetworkTargetRow>>
pub fn all_audit_event_rows(&self) -> ViewResult<Vec<AuditEventRow>>
pub fn process_node_rows(&self) -> ViewResult<Vec<ProcessNodeRow>>
Trait Implementations§
Source§impl ViewSink for SqliteStore
impl ViewSink for SqliteStore
fn llm_call(&mut self, row: &LlmCallRow) -> ViewResult<()>
fn token_usage(&mut self, row: &TokenUsageRow) -> ViewResult<()>
fn audit_event(&mut self, row: &AuditEventRow) -> ViewResult<()>
fn process_node(&mut self, row: &ProcessNodeRow) -> ViewResult<()>
fn tool_call(&mut self, row: &ToolCallRow) -> ViewResult<()>
fn network_target(&mut self, row: &NetworkTargetRow) -> ViewResult<()>
fn resource_sample(&mut self, row: &ResourceSampleRow) -> ViewResult<()>
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