Allow to update an item multiple times

This commit is contained in:
Julian Ganz 2016-01-16 15:12:10 +01:00
parent ba0ef701e9
commit 70883409aa

View file

@ -12,7 +12,7 @@ pub trait Store {
fn create(&self, entry : Entry) -> Result<()>;
fn retrieve(&self, id : String) -> Result<LockedEntry>;
fn retrieve_copy(&self, id : String) -> Result<Entry>;
fn update(&self, LockedEntry) -> Result<()>;
fn update(&self, &LockedEntry) -> Result<()>;
fn delete(&self, id : String) -> Result<()>;
}