Trait LayeredTopologicalSort

Source
pub trait LayeredTopologicalSort {
    // Required method
    fn layered_topological_order_crate_names<'life0, 'life1, 'async_trait>(
        &'life0 self,
        config: &'life1 TopologicalSortConfig,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<String>>, WorkspaceError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             Self: 'async_trait;
}
Expand description

Trait for returning a layered topological ordering of all crates in the target.

Required Methods§

Source

fn layered_topological_order_crate_names<'life0, 'life1, 'async_trait>( &'life0 self, config: &'life1 TopologicalSortConfig, ) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<String>>, WorkspaceError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Implementors§

Source§

impl<P, H> LayeredTopologicalSort for Workspace<P, H>
where P: for<'a> From<PathBuf> + for<'a> AsRef<Path> + for<'a> Send + for<'a> Sync + 'a, H: for<'a> CrateHandleInterface<P> + for<'a> Send + for<'a> Sync + 'static, Workspace<P, H>: GenerateDependencyTree<Tree = Graph<String, ()>, Error = WorkspaceError>,