Trait rscache::CacheRead[][src]

pub trait CacheRead {
    fn read(&self, index_id: u8, archive_id: u32) -> Result<Vec<u8>>;

    fn read_archive(&self, archive: &Archive) -> Result<Vec<u8>> { ... }
}
Expand description

The read functionality of a cache.

Required methods

fn read(&self, index_id: u8, archive_id: u32) -> Result<Vec<u8>>[src]

Provided methods

fn read_archive(&self, archive: &Archive) -> Result<Vec<u8>>[src]

Implementors

impl<S: Store> CacheRead for Cache<S>[src]

fn read(&self, index_id: u8, archive_id: u32) -> Result<Vec<u8>>[src]