Trait CreateCrateSkeleton

Source
pub trait CreateCrateSkeleton<P>
where P: Send + AsRef<Path>,
{ // Required method fn create_new_crate_skeleton<'life0, 'life1, 'async_trait>( &'life0 self, new_crate_name: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<P, WorkspaceError>> + Send + 'async_trait>> where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait; }
Expand description

Extension trait to create the new crate skeleton: directory, Cargo.toml, src/lib.rs, …

Required Methods§

Source

fn create_new_crate_skeleton<'life0, 'life1, 'async_trait>( &'life0 self, new_crate_name: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<P, WorkspaceError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

Implementors§

Source§

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