Trait rustup_available_packages::cache::Cache[][src]

pub trait Cache {
    fn get(&self, day: NaiveDate) -> Option<Manifest>;
fn store(&self, manifest: &Manifest); }

A cache trait.

Required Methods

Tries to load a manifest from a cached file.

Stores a manifest to the disk.

Implementations on Foreign Types

impl<L, R> Cache for Either<L, R> where
    L: Cache,
    R: Cache
[src]

Implementors