pub struct Resolver {
pub repositories: Vec<Arc<Repository>>,
pub project_cache: RefCell<HashMap<Artifact, Project>>,
/* private fields */
}Fields§
§repositories: Vec<Arc<Repository>>§project_cache: RefCell<HashMap<Artifact, Project>>Implementations§
Source§impl Resolver
impl Resolver
pub fn new(repositories: &[Arc<Repository>]) -> Self
pub fn try_download_package( &self, id: &Artifact, ) -> Result<Packaging, ResolverError>
pub fn create_url_with_repository( repository: &Repository, id: &Artifact, ) -> Result<String, ResolverError>
pub fn build_effective_pom( &self, project_id: &Artifact, ) -> Result<Project, ResolverError>
pub fn fetch_project( &self, repository: &Repository, project_id: &Artifact, ) -> Result<Project, ResolverError>
pub fn download_all_jars( &self, root_artifacts: &[Artifact], root_directory: &Path, ) -> HashSet<Artifact>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Resolver
impl !RefUnwindSafe for Resolver
impl !Send for Resolver
impl !Sync for Resolver
impl Unpin for Resolver
impl !UnwindSafe for Resolver
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