Skip to main content

Interceptable

Trait Interceptable 

Source
pub trait Interceptable:
    Send
    + Sync
    + 'static {
    type Input: Send;
    type Output: Send;
}
Expand description

An operation that can be intercepted.

This trait defines the input and output types for an interceptable operation. Implement this for marker types that represent different domains (e.g., LLM calls, tool executions).

Required Associated Types§

Source

type Input: Send

Input to the operation.

Source

type Output: Send

Output from the operation.

Implementors§