pub struct DependencyGraphOptimizer { /* private fields */ }Expand description
Dependency resolution path optimization
Pre-computes and caches optimal resolution paths for complex dependency graphs.
Implementations§
Source§impl DependencyGraphOptimizer
impl DependencyGraphOptimizer
Sourcepub fn optimize_path(
&self,
root_key: &Key,
dependencies: &[Key],
) -> DiResult<ResolutionPath>
pub fn optimize_path( &self, root_key: &Key, dependencies: &[Key], ) -> DiResult<ResolutionPath>
Analyze and optimize a resolution path
Sourcepub fn stats(&self) -> GraphStats
pub fn stats(&self) -> GraphStats
Get optimization statistics
Trait Implementations§
Source§impl Debug for DependencyGraphOptimizer
impl Debug for DependencyGraphOptimizer
Auto Trait Implementations§
impl !Freeze for DependencyGraphOptimizer
impl RefUnwindSafe for DependencyGraphOptimizer
impl Send for DependencyGraphOptimizer
impl Sync for DependencyGraphOptimizer
impl Unpin for DependencyGraphOptimizer
impl UnsafeUnpin for DependencyGraphOptimizer
impl UnwindSafe for DependencyGraphOptimizer
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