Skip to main content

NativeToolCeilingSource

Trait NativeToolCeilingSource 

Source
pub trait NativeToolCeilingSource: Send + Sync {
    // Required method
    fn observe<'life0, 'life1, 'async_trait>(
        &'life0 self,
        session: &'life1 Session,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Host-owned observation of its actual concrete tool surface at activation. The caller cannot submit a resolved ceiling through the public tool schema.

Required Methods§

Source

fn observe<'life0, 'life1, 'async_trait>( &'life0 self, session: &'life1 Session, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§