Re-wrote Provider::sync
This commit is contained in:
parent
c46222c8c7
commit
5c3c5c8090
10 changed files with 256 additions and 69 deletions
|
@ -39,6 +39,9 @@ pub trait PartialCalendar {
|
|||
/// Returns a particular item
|
||||
async fn get_item_by_id_mut<'a>(&'a mut self, id: &ItemId) -> Option<&'a mut Item>;
|
||||
|
||||
/// Returns a particular item
|
||||
async fn get_item_by_id<'a>(&'a self, id: &ItemId) -> Option<&'a Item>;
|
||||
|
||||
/// Add an item into this calendar
|
||||
async fn add_item(&mut self, item: Item);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue