Skip to main content

ToolLayer

Trait ToolLayer 

Source
pub trait ToolLayer: Send + Sync {
    // Required method
    fn wrap(&self, inner: Arc<dyn ToolPort>) -> Arc<dyn ToolPort>;
}
Expand description

Decorator-style wrapper for ToolPort implementations.

Required Methods§

Source

fn wrap(&self, inner: Arc<dyn ToolPort>) -> Arc<dyn ToolPort>

Wraps an existing ToolPort with additional behavior.

Implementors§