pub struct DirectorySource<'cfg> { /* private fields */ }

Implementations

Trait Implementations

Formats the value using the given formatter. Read more
Attempt to find the packages that match a dependency request.
Attempt 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. where as an Index source may return dependencies that have the same canonicalization. Read more
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
Returns the SourceId corresponding to this source
The update method performs any network operations required to get the entire list of all names, versions and dependencies of packages managed by the Source. Read more
The download method fetches the full package for each name and version specified. Read more
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
Returns the replaced SourceId corresponding to this source

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.