Struct cargo::sources::replaced::ReplacedSource [−][src]
pub struct ReplacedSource<'cfg> { /* fields omitted */ }
Implementations
Trait Implementations
Returns the replaced SourceId
corresponding to this source.
Returns whether or not this source will return summaries with checksums listed. Read more
Returns whether or not this source will return summaries with
the precise
field in the source id listed. Read more
Attempts to find the packages that match a dependency request.
Attempts to find the packages that are close to a dependency request.
Each source gets to define what close
means for it.
Path/Git sources may return all dependencies that are at that URI,
whereas an Index
source may return dependencies that have the same canonicalization. Read more
Performs any network operations required to get the entire list of all names,
versions and dependencies of packages managed by the Source
. Read more
Fetches the full package for each name and version specified.
Generates a unique string which represents the fingerprint of the current state of the source. Read more
If this source supports it, verifies the source of the package specified. Read more
Describes this source in a human readable fashion, used for display in resolver error messages currently. Read more
Returns whether a source is being replaced by another here.
Add a number of crates that should be whitelisted for showing up during queries, even if they are yanked. Currently only applies to registry sources. Read more
Query if a package is yanked. Only registry sources can mark packages as yanked. This ignores the yanked whitelist. Read more
fn download_now(
self: Box<Self>,
package: PackageId,
config: &Config
) -> CargoResult<Package> where
Self: Sized,
[src]Auto Trait Implementations
impl<'cfg> !RefUnwindSafe for ReplacedSource<'cfg>
impl<'cfg> !Send for ReplacedSource<'cfg>
impl<'cfg> !Sync for ReplacedSource<'cfg>
impl<'cfg> Unpin for ReplacedSource<'cfg>
impl<'cfg> !UnwindSafe for ReplacedSource<'cfg>