This commit is contained in:
daladim 2021-04-19 23:04:12 +02:00
parent 5322f04d83
commit 75a6e17a7f
2 changed files with 11 additions and 3 deletions

View file

@ -23,6 +23,8 @@ pub trait CalDavSource<T: BaseCalendar> {
/// Create a calendar if it did not exist, and return it
async fn create_calendar(&mut self, id: CalendarId, name: String, supported_components: SupportedComponents)
-> Result<Arc<Mutex<T>>, Box<dyn Error>>;
// Removing a calendar is not supported yet
}
/// This trait contains functions that are common to all calendars