struct SummariesCache<'a> {
versions: Vec<(Version, &'a [u8])>,
index_version: &'a str,
}
Expand description
A representation of the cache on disk that Cargo maintains of summaries. Cargo will initially parse all summaries in the registry and will then serialize that into this form and place it in a new location on disk, ensuring that access in the future is much speedier.
Fields§
§versions: Vec<(Version, &'a [u8])>
§index_version: &'a str
Implementations§
source§impl<'a> SummariesCache<'a>
impl<'a> SummariesCache<'a>
Trait Implementations§
source§impl<'a> Default for SummariesCache<'a>
impl<'a> Default for SummariesCache<'a>
source§fn default() -> SummariesCache<'a>
fn default() -> SummariesCache<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SummariesCache<'a>
impl<'a> Send for SummariesCache<'a>
impl<'a> Sync for SummariesCache<'a>
impl<'a> Unpin for SummariesCache<'a>
impl<'a> UnwindSafe for SummariesCache<'a>
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes