Allow to update an item multiple times
This commit is contained in:
parent
ba0ef701e9
commit
70883409aa
1 changed files with 1 additions and 1 deletions
|
@ -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<()>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue