Struct crates_index::BareIndexRepo[][src]

pub struct BareIndexRepo<'a> { /* fields omitted */ }
Expand description

Opened instance of BareIndex

Implementations

Fetches latest from the remote index repository. Note that using this method will mean no cache entries will be used, if a new commit is fetched from the repository, as their commit version will no longer match.

Reads a crate from the index, it will attempt to use a cached entry if one is available, otherwise it will fallback to reading the crate directly from the git blob containing the crate information.

Retrieve an iterator over all the crates in the index. skips crates that can not be parsed.

Get the global configuration of the index.

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

Performs the conversion.

Performs the conversion.

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.