pub struct PluginManager { /* private fields */ }Implementations§
Source§impl PluginManager
impl PluginManager
pub fn register<P>(&mut self, plugin: P) -> Result<(), PluginError>where
P: Plugin,
pub fn register_arc( &mut self, plugin: Arc<dyn Plugin>, ) -> Result<(), PluginError>
pub fn descriptors(&self) -> Vec<PluginDescriptor>
pub fn compose( &self, selection: &PluginSelection, ) -> Result<ComposedApplication, PluginError>
Sourcepub fn build_graph(
&self,
selection: &PluginSelection,
) -> Result<ApplicationGraph, PluginError>
pub fn build_graph( &self, selection: &PluginSelection, ) -> Result<ApplicationGraph, PluginError>
Resolves and validates the configured application graph without installing services.
Deployment planning and other read-only tooling use this method so graph inspection cannot construct clients, connect to infrastructure, or trigger plugin lifecycle hooks.
Sourcepub fn compose_with(
&self,
selection: &PluginSelection,
services: ServiceCollection,
contributions: ContributionCollection,
) -> Result<ComposedApplication, PluginError>
pub fn compose_with( &self, selection: &PluginSelection, services: ServiceCollection, contributions: ContributionCollection, ) -> Result<ComposedApplication, PluginError>
Composes plugins on top of application-provided services and contributions.
This is the explicit dependency-injection boundary for concrete database pools, AWS clients, clocks, and other composition-root concerns. Registrations remain typed and duplicate service types are still rejected; Minco never falls back to a global locator.
Trait Implementations§
Source§impl Debug for PluginManager
impl Debug for PluginManager
Source§impl Default for PluginManager
impl Default for PluginManager
Source§fn default() -> PluginManager
fn default() -> PluginManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PluginManager
impl !UnwindSafe for PluginManager
impl Freeze for PluginManager
impl Send for PluginManager
impl Sync for PluginManager
impl Unpin for PluginManager
impl UnsafeUnpin for PluginManager
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