Skip to main content

ViewSink

Trait ViewSink 

Source
pub trait ViewSink: Send {
    // Provided methods
    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<()> { ... }
}

Provided Methods§

Source

fn llm_call(&mut self, _row: &LlmCallRow) -> ViewResult<()>

Source

fn token_usage(&mut self, _row: &TokenUsageRow) -> ViewResult<()>

Source

fn audit_event(&mut self, _row: &AuditEventRow) -> ViewResult<()>

Source

fn process_node(&mut self, _row: &ProcessNodeRow) -> ViewResult<()>

Source

fn tool_call(&mut self, _row: &ToolCallRow) -> ViewResult<()>

Source

fn network_target(&mut self, _row: &NetworkTargetRow) -> ViewResult<()>

Source

fn resource_sample(&mut self, _row: &ResourceSampleRow) -> ViewResult<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§