pub enum McpExposure {
Codemode,
Deferred,
Direct,
Hidden,
}Expand description
pi’s McpExposure: how an MCP server’s tools reach the model.
Variants§
Codemode
Called from codemode scripts. The default.
Deferred
Declared once tool_search loads them.
Direct
Declared to the model like built-in tools.
Hidden
Unreachable.
Implementations§
Source§impl McpExposure
impl McpExposure
Trait Implementations§
Source§impl Clone for McpExposure
impl Clone for McpExposure
impl Copy for McpExposure
Source§impl Debug for McpExposure
impl Debug for McpExposure
impl Eq for McpExposure
Source§impl PartialEq for McpExposure
impl PartialEq for McpExposure
impl StructuralPartialEq for McpExposure
Auto Trait Implementations§
impl Forget for McpExposure
impl Freeze for McpExposure
impl RefUnwindSafe for McpExposure
impl Send for McpExposure
impl Sync for McpExposure
impl Unpin for McpExposure
impl UnsafeUnpin for McpExposure
impl UnwindSafe for McpExposure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.