Struct elba::retrieve::Retriever[][src]

pub struct Retriever<'cache> {
    pub logger: Logger,
    pub def_index: IndexRes,
    // some fields omitted
}

Retrieves the best packages using both the indices available and a lockfile. By default, prioritizes using a lockfile.

Fields

Methods

impl<'cache> Retriever<'cache>
[src]

Loads all of the packages selected in a Solve into the Cache, returning a new graph of all the Sources.

This downloads all the packages into the cache. If we wanted to parallelize downloads later, this is where we'd deal with all the Tokio stuff.

Chooses the best version of a package given a constraint.

Returns a Vec<Incompatibility> corresponding to the package's dependencies.

Trait Implementations

impl<'cache> Debug for Retriever<'cache>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'cache> Send for Retriever<'cache>

impl<'cache> Sync for Retriever<'cache>