pub struct Installer { /* private fields */ }Expand description
Main installer for tools and packages
Implementations§
Source§impl Installer
impl Installer
Sourcepub async fn install(&self, config: &InstallConfig) -> Result<PathBuf>
pub async fn install(&self, config: &InstallConfig) -> Result<PathBuf>
Install a tool using the provided configuration
Sourcepub async fn is_installed(&self, config: &InstallConfig) -> Result<bool>
pub async fn is_installed(&self, config: &InstallConfig) -> Result<bool>
Check if a tool version is already installed
Auto Trait Implementations§
impl Freeze for Installer
impl !RefUnwindSafe for Installer
impl Send for Installer
impl Sync for Installer
impl Unpin for Installer
impl !UnwindSafe for Installer
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