Re-wrote Provider::sync

This commit is contained in:
daladim 2021-03-22 23:42:41 +01:00
parent c46222c8c7
commit 5c3c5c8090
10 changed files with 256 additions and 69 deletions

View file

@ -1,7 +1,6 @@
use std::collections::{HashMap, HashSet};
use std::error::Error;
use chrono::{DateTime, Utc};
use async_trait::async_trait;
use crate::traits::PartialCalendar;
@ -86,6 +85,12 @@ impl PartialCalendar for RemoteCalendar {
None
}
async fn get_item_by_id<'a>(&'a self, id: &ItemId) -> Option<&'a Item> {
log::error!("Not implemented");
None
}
/// Add an item into this calendar
async fn add_item(&mut self, _item: Item) {
log::error!("Not implemented");