pub struct LoadedPlugin {
pub name: String,
pub verify: VerifyReport,
pub tools: Vec<Arc<dyn Tool>>,
pub disabled: Vec<DisabledTool>,
pub mcp_servers: Vec<PluginMcpServer>,
}Expand description
A loaded plugin package: usable tools + disabled list + re-verification report + own server pins.
Fields§
§name: Stringplugin name.
verify: VerifyReportre-verification report for this load (panel display / logging).
tools: Vec<Arc<dyn Tool>>usable tools (can be passed straight to ToolRegistry::register_arc).
disabled: Vec<DisabledTool>disabled tools (the product of not skipping the whole package on corruption).
mcp_servers: Vec<PluginMcpServer>own MCP server pins (connections are made by the product layer).
Implementations§
Source§impl LoadedPlugin
impl LoadedPlugin
Sourcepub fn identity_keys(&self) -> Vec<String>
pub fn identity_keys(&self) -> Vec<String>
All identity keys touched by this plugin (usable + disabled) — used to clean the tool table on unload.
Sourcepub fn user_message(&self) -> Option<String>
pub fn user_message(&self) -> Option<String>
One-line panel message (the tamper text from the re-verification report; Trusted = none).
Auto Trait Implementations§
impl !RefUnwindSafe for LoadedPlugin
impl !UnwindSafe for LoadedPlugin
impl Freeze for LoadedPlugin
impl Send for LoadedPlugin
impl Sync for LoadedPlugin
impl Unpin for LoadedPlugin
impl UnsafeUnpin for LoadedPlugin
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