pub struct MCPContextAdapter {
pub resource_read: MCPResourceRead,
}Fields§
§resource_read: MCPResourceReadImplementations§
Source§impl MCPContextAdapter
impl MCPContextAdapter
pub fn read_tool_spec(&self, name: &str, risk_level: &str) -> ToolSpec
Auto Trait Implementations§
impl Freeze for MCPContextAdapter
impl RefUnwindSafe for MCPContextAdapter
impl Send for MCPContextAdapter
impl Sync for MCPContextAdapter
impl Unpin for MCPContextAdapter
impl UnsafeUnpin for MCPContextAdapter
impl UnwindSafe for MCPContextAdapter
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