pub struct Discovery {
pub plugins: Vec<Plugin>,
pub errors: Vec<LoadError>,
}Expand description
Everything found.
Fields§
§plugins: Vec<Plugin>In load order: built-in, installed, linked. Ids are unique.
errors: Vec<LoadError>Plugins that couldn’t load at all.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Discovery
impl Freeze for Discovery
impl Move for Discovery
impl RefUnwindSafe for Discovery
impl Send for Discoverywhere
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, McpServerConfig, LeafOrInternal>: Send,
BoxRaw<(String, McpServerConfig)>: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
Arc<BTreeMap<String, String>>: Send,
impl Sync for Discoverywhere
RawVecInner: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, McpServerConfig, LeafOrInternal>: Sync,
BoxRaw<(String, McpServerConfig)>: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
Arc<BTreeMap<String, String>>: Sync,
impl Unpin for Discoverywhere
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, McpServerConfig> is !null: Unpin,
Box<(String, McpServerConfig)>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
Arc<BTreeMap<String, String>>: Unpin,
impl UnsafeUnpin for Discoverywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Plugin>: UnsafeUnpin,
PhantomData<LoadError>: UnsafeUnpin,
impl UnwindSafe for Discoverywhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, McpServerConfig>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
Arc<BTreeMap<String, String>>: UnwindSafe,
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