Trait BuildWorkspaceSubTree

Source
pub trait BuildWorkspaceSubTree {
    // Required method
    fn build_workspace_subtree<'life0, 'life1, 'async_trait>(
        &'life0 self,
        crate_name: &'life1 str,
        levels: usize,
        verbose: bool,
    ) -> Pin<Box<dyn Future<Output = Result<WorkspaceDependencyTree, WorkspaceError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn build_workspace_subtree<'life0, 'life1, 'async_trait>( &'life0 self, crate_name: &'life1 str, levels: usize, verbose: bool, ) -> Pin<Box<dyn Future<Output = Result<WorkspaceDependencyTree, WorkspaceError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl<P, H> BuildWorkspaceSubTree for Workspace<P, H>
where P: From<PathBuf> + AsRef<Path> + Clone + Send + Sync + 'static, H: CrateHandleInterface<P> + Send + Sync + 'static,

Source§

fn build_workspace_subtree<'life0, 'life1, 'async_trait>( &'life0 self, crate_name: &'life1 str, levels: usize, verbose: bool, ) -> Pin<Box<dyn Future<Output = Result<WorkspaceDependencyTree, WorkspaceError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Builds a tree focusing on a single crate as the “root” (entrypoint), recursing down its dependencies up to levels.

Implementors§