pub struct ProjectManager {
pub ctx: Arc<ConduitContext>,
pub resolver: Resolver,
pub project_root: PathBuf,
pub workflow: Workflow,
}Fields§
§ctx: Arc<ConduitContext>§resolver: Resolver§project_root: PathBuf§workflow: WorkflowImplementations§
Source§impl ProjectManager
impl ProjectManager
pub async fn add_addons( &self, identifiers: Vec<String>, target_type: AddonType, ) -> ConduitResult<()>
Source§impl ProjectManager
impl ProjectManager
pub async fn export( &self, modpack_type: ModpackType, path: PathBuf, ) -> ConduitResult<ConduitModpackManager>
Source§impl ProjectManager
impl ProjectManager
pub async fn install_loader(&self, loader: Loader) -> ConduitResult<()>
Source§impl ProjectManager
impl ProjectManager
pub async fn start(&self) -> ConduitResult<()>
Source§impl ProjectManager
impl ProjectManager
pub fn new(ctx: Arc<ConduitContext>, project_root: PathBuf) -> Self
Auto Trait Implementations§
impl Freeze for ProjectManager
impl !RefUnwindSafe for ProjectManager
impl Send for ProjectManager
impl Sync for ProjectManager
impl Unpin for ProjectManager
impl UnsafeUnpin for ProjectManager
impl !UnwindSafe for ProjectManager
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