add_item now returns a Result
This commit is contained in:
parent
fd0568dbcc
commit
9355629136
5 changed files with 36 additions and 23 deletions
|
@ -92,8 +92,8 @@ impl PartialCalendar for RemoteCalendar {
|
|||
|
||||
|
||||
/// Add an item into this calendar
|
||||
async fn add_item(&mut self, _item: Item) {
|
||||
log::error!("Not implemented");
|
||||
async fn add_item(&mut self, _item: Item) -> Result<(), Box<dyn Error>> {
|
||||
Err("Not implemented".into())
|
||||
}
|
||||
|
||||
/// Remove an item from this calendar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue