pub struct ResolvedRegistry { /* private fields */ }Expand description
The post-resolution skill set. Consumed by serve_prompts
(Phase 1c) to wire prompts/list and prompts/get on the
MCP server.
Implementations§
Source§impl ResolvedRegistry
impl ResolvedRegistry
Sourcepub fn skill_names(&self) -> Vec<String>
pub fn skill_names(&self) -> Vec<String>
All resolved skill names, sorted alphabetically for stable
output in prompts/list.
Sourcepub fn get(&self, name: &str) -> Option<&Skill>
pub fn get(&self, name: &str) -> Option<&Skill>
Look up a skill by name. Used by prompts/get to fetch the
full body when the agent requests it.
Trait Implementations§
Source§impl Debug for ResolvedRegistry
impl Debug for ResolvedRegistry
Source§impl Default for ResolvedRegistry
impl Default for ResolvedRegistry
Source§fn default() -> ResolvedRegistry
fn default() -> ResolvedRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolvedRegistry
impl RefUnwindSafe for ResolvedRegistry
impl Send for ResolvedRegistry
impl Sync for ResolvedRegistry
impl Unpin for ResolvedRegistry
impl UnsafeUnpin for ResolvedRegistry
impl UnwindSafe for ResolvedRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more