[][src]Trait augr_core::store::Store

pub trait Store {
    type Error: Error;
    fn get_meta(&self) -> Result<Meta, Self::Error>;
fn save_meta(&mut self, meta: &Meta) -> Result<(), Self::Error>;
fn get_patch(&self, patch_ref: &PatchRef) -> Result<Patch, Self::Error>;
fn add_patch(&mut self, patch: &Patch) -> Result<(), Self::Error>; }

Associated Types

type Error: Error

Loading content...

Required methods

fn get_meta(&self) -> Result<Meta, Self::Error>

fn save_meta(&mut self, meta: &Meta) -> Result<(), Self::Error>

fn get_patch(&self, patch_ref: &PatchRef) -> Result<Patch, Self::Error>

fn add_patch(&mut self, patch: &Patch) -> Result<(), Self::Error>

Loading content...

Implementors

impl Store for SyncFolderStore[src]

type Error = SyncFolderStoreError

Loading content...