Trait BasicTopologicalSort

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

Trait for a simple, flat, topological ordering of all crates in the target.

Required Methods§

Source

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

Implementors§

Source§

impl<P, H> BasicTopologicalSort 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>,