Skip to main content

Filterable

Trait Filterable 

Source
pub trait Filterable: Send + Sync {
    // Required method
    fn name(&self) -> &str;
}
Expand description

Trait for capabilities that can be filtered by session.

Implemented for Tool, Resource, and Prompt.

Required Methods§

Source

fn name(&self) -> &str

Returns the name of this capability.

Implementors§