[][src]Trait rscache::store::Store

pub trait Store: Sized {
    fn new(main_file: File) -> Result<Self>;
fn read(&self, archive: &Archive) -> Result<Vec<u8>>; }

The internal storage for a cache with a way to read internal data.

Required methods

fn new(main_file: File) -> Result<Self>

fn read(&self, archive: &Archive) -> Result<Vec<u8>>

Loading content...

Implementors

impl Store for FileStore[src]

impl Store for MemoryStore[src]

Loading content...