Trait rsure::Store [] [src]

pub trait Store {
    fn write_new(&self, tree: &SureTree, tags: &StoreTags) -> Result<()>;
fn load(&self, version: Version) -> Result<SureTree>;
fn get_versions(&self) -> Result<Vec<StoreVersion>>; }

Something that can store and retrieve SureTrees.

Required Methods

Write a new SureTree to the store. The store may write the tags in the version to help identify information about what was captured.

Attempt to load a sure version, based on the descriptor given.

Retrieve the available versions, in the store. These should be listed, newest first.

Implementors