pub struct PackageInstaller { /* private fields */ }Implementations§
Source§impl PackageInstaller
impl PackageInstaller
pub fn new(config: Config) -> Self
pub fn install_from_github( &self, repo: &str, branch: Option<&str>, ) -> Result<String>
pub fn install_from_path(&self, source_path: &Path) -> Result<String>
pub fn parse_manifest_name(manifest_path: &Path) -> Result<String>
pub fn create_package_info( path: &Path, manifest_path: &Path, summary: &PackageSummary, source: PackageSource, ) -> Result<PackageInfo>
Auto Trait Implementations§
impl Freeze for PackageInstaller
impl RefUnwindSafe for PackageInstaller
impl Send for PackageInstaller
impl Sync for PackageInstaller
impl Unpin for PackageInstaller
impl UnsafeUnpin for PackageInstaller
impl UnwindSafe for PackageInstaller
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